Skip to content

Commit

Permalink
Update user baselines +cc @sandersn
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed May 2, 2022
1 parent 6834969 commit 48d4889
Show file tree
Hide file tree
Showing 17 changed files with 3,660 additions and 2,385 deletions.
601 changes: 497 additions & 104 deletions tests/baselines/reference/docker/azure-sdk.log

Large diffs are not rendered by default.

4,011 changes: 2,421 additions & 1,590 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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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"
22 changes: 1 addition & 21 deletions tests/baselines/reference/docker/xterm.js.log
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,9 @@ Standard output:

> [email protected] 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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit 48d4889

Please sign in to comment.