Skip to content

Commit

Permalink
Update user baselines +cc @sandersn (#43554)
Browse files Browse the repository at this point in the history
Co-authored-by: typescript-bot <typescript@microsoft.com>
  • Loading branch information
typescript-bot and typescript-bot committed Sep 15, 2022
1 parent ec6ae1c commit a3f51b3
Show file tree
Hide file tree
Showing 18 changed files with 3,671 additions and 2,397 deletions.
601 changes: 497 additions & 104 deletions tests/baselines/reference/docker/azure-sdk.log

Large diffs are not rendered by default.

4,019 changes: 2,425 additions & 1,594 deletions tests/baselines/reference/docker/office-ui-fabric.log

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions tests/baselines/reference/docker/prettier.log
@@ -1,26 +1,39 @@
Exit Code: 0
Standard output:
yarn run vX.X.X
$ node --max-old-space-size=3072 ./scripts/build/build.js
$ node ./scripts/build/build.mjs
Building packages
index.js....................... DONE
doc.js......................... DONE
standalone.js.................. DONE
esm/standalone.mjs........... DONE
bin-prettier.js................ DONE
cli.js......................... DONE
third-party.js................. DONE
parser-babel.js................ DONE
esm/parser-babel.mjs......... DONE
parser-flow.js................. DONE
esm/parser-flow.mjs.......... DONE
parser-typescript.js........... DONE
esm/parser-typescript.mjs.... DONE
parser-espree.js............... DONE
esm/parser-espree.mjs........ DONE
parser-meriyah.js.............. DONE
esm/parser-meriyah.mjs....... DONE
parser-angular.js.............. DONE
esm/parser-angular.mjs....... DONE
parser-postcss.js.............. DONE
esm/parser-postcss.mjs......... DONE
esm/parser-postcss.mjs....... DONE
parser-graphql.js.............. DONE
esm/parser-graphql.mjs....... DONE
parser-markdown.js............. DONE
esm/parser-markdown.mjs...... DONE
parser-glimmer.js.............. DONE
esm/parser-glimmer.mjs....... DONE
parser-html.js................. DONE
esm/parser-html.mjs.......... DONE
parser-yaml.js................. DONE
esm/parser-yaml.mjs.......... DONE
Done in ?s.


Expand Down
36 changes: 35 additions & 1 deletion tests/baselines/reference/docker/pyright.log
@@ -1,9 +1,43 @@
Exit Code: 0
Exit Code: 2
Standard output:
pyright-internal: src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
pyright-internal: Overload 1 of 2, '(to: (T | readonly T[])[], from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[]', gave the following error.
pyright-internal: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
pyright-internal: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
pyright-internal: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
pyright-internal: Type '{}' is not assignable to type 'T | readonly T[]'.
pyright-internal: Overload 2 of 2, '(to: (T | readonly T[])[] | undefined, from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[] | undefined', gave the following error.
pyright-internal: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
pyright-internal: src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
pyright-internal: Type 'T | readonly T[]' is not assignable to type 'T'.
pyright-internal: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.
pyright: ../pyright-internal/src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
pyright: Overload 1 of 2, '(to: (T | readonly T[])[], from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[]', gave the following error.
pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
pyright: Type '{}' is not assignable to type 'T | readonly T[]'.
pyright: Overload 2 of 2, '(to: (T | readonly T[])[] | undefined, from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[] | undefined', gave the following error.
pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
pyright: ../pyright-internal/src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
pyright: Type 'T | readonly T[]' is not assignable to type 'T'.
pyright: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.
vscode-pyright: ../pyright-internal/src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
vscode-pyright: Overload 1 of 2, '(to: (T | readonly T[])[], from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[]', gave the following error.
vscode-pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
vscode-pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
vscode-pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
vscode-pyright: Type '{}' is not assignable to type 'T | readonly T[]'.
vscode-pyright: Overload 2 of 2, '(to: (T | readonly T[])[] | undefined, from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[] | undefined', gave the following error.
vscode-pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
vscode-pyright: ../pyright-internal/src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
vscode-pyright: Type 'T | readonly T[]' is not assignable to type 'T'.
vscode-pyright: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.



Standard error:
lerna notice cli vX.X.X
lerna info Executing command in 3 packages: "tsc --noEmit"
lerna ERR! Received non-zero exit code 2 during execution
lerna success exec Executed command in 3 packages: "tsc --noEmit"
14 changes: 7 additions & 7 deletions tests/baselines/reference/docker/vscode.log
Expand Up @@ -3,22 +3,22 @@ Standard output:
yarn run vX.X.X
$ node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile
[XX:XX:XX] Using gulpfile /vscode/gulpfile.js
[XX:XX:XX] Error: /vscode/extensions/html-language-features/server/src/modes/javascriptMode.ts(130,4): Unused '@ts-expect-error' directive.
[XX:XX:XX] Error: /vscode/extensions/html-language-features/server/src/modes/javascriptMode.ts(26,9): Type '{ getCompilationSettings: () => CompilerOptions; getScriptFileNames: () => string[]; getScriptKind: (fileName: string) => ScriptKind; getScriptVersion: (fileName: string) => string; getScriptSnapshot: (fileName: string) => { ...; }; getCurrentDirectory: () => string; getDefaultLibFileName: (_options: CompilerOptions...' is missing the following properties from type 'LanguageServiceHost': readFile, fileExists
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.



Standard error:
(node:18) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
[XX:XX:XX] 'compile' errored after
[XX:XX:XX] 'compile' errored after ?s
[XX:XX:XX] Error: Found 1 errors
at Stream.<anonymous> (/vscode/build/lib/reporter.js:91:29)
at _end (/vscode/node_modules/through/index.js:65:9)
at Stream.stream.end (/vscode/node_modules/through/index.js:74:5)
at StreamFilter.onend (/vscode/node_modules/readable-stream/lib/_stream_readable.js:577:10)
at Object.onceWrapper (events.js:286:20)
at StreamFilter.emit (events.js:203:15)
at StreamFilter.EventEmitter.emit (domain.js:466:23)
at Object.onceWrapper (events.js:519:28)
at StreamFilter.emit (events.js:412:35)
at StreamFilter.emit (domain.js:537:15)
at endReadableNT (/vscode/node_modules/readable-stream/lib/_stream_readable.js:1010:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
at runNextTicks (internal/process/task_queues.js:64:3)
error Command failed with exit code 1.
22 changes: 1 addition & 21 deletions tests/baselines/reference/docker/xterm.js.log
Expand Up @@ -3,17 +3,9 @@ Standard output:

> xterm@X.X.X build /xtermjs
> tsc -b ./tsconfig.all.json
src/browser/Terminal2.test.ts(80,11): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
addons/xterm-addon-ligatures/src/font.ts(6,26): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/font.ts(7,44): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/font.ts(47,30): error TS2583: Cannot find name 'AsyncIterableIterator'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2018' or later.
addons/xterm-addon-ligatures/src/font.ts(62,38): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/font.ts(71,38): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/index.ts(7,22): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/index.ts(75,14): error TS2347: Untyped function calls may not accept type arguments.
addons/xterm-addon-ligatures/src/index.ts(76,9): error TS7006: Parameter 'range' implicitly has an 'any' type.
Expand All @@ -24,18 +16,6 @@ addons/xterm-addon-ligatures/src/index.test.ts(10,32): error TS2307: Cannot find
addons/xterm-addon-ligatures/src/index.test.ts(26,25): error TS2304: Cannot find name '__dirname'.
addons/xterm-addon-ligatures/src/index.test.ts(33,25): error TS2304: Cannot find name '__dirname'.
addons/xterm-addon-ligatures/src/index.test.ts(40,25): error TS2304: Cannot find name '__dirname'.
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions



Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/adonis-framework.log
Expand Up @@ -238,7 +238,7 @@ node_modules/adonis-framework/src/Session/index.js(265,12): error TS1359: Identi
node_modules/adonis-framework/src/Session/index.js(267,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/index.js(287,15): error TS2322: Type 'Generator<any, any, any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/index.js(293,12): error TS2532: Object is possibly 'undefined'.
node_modules/adonis-framework/src/Static/index.js(45,18): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
node_modules/adonis-framework/src/Static/index.js(45,18): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
node_modules/adonis-framework/src/View/Form/index.js(75,11): error TS2532: Object is possibly 'undefined'.
node_modules/adonis-framework/src/View/Form/index.js(115,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/View/Form/index.js(147,63): error TS2345: Argument of type 'string | any[]' is not assignable to parameter of type 'any[]'.
Expand Down

0 comments on commit a3f51b3

Please sign in to comment.