Skip to content

Commit a3f51b3

Browse files
TypeScript Bottypescript-bot
TypeScript Bot
andauthoredSep 15, 2022
Update user baselines +cc @sandersn (#43554)
Co-authored-by: typescript-bot <typescript@microsoft.com>
1 parent ec6ae1c commit a3f51b3

18 files changed

+3671
-2397
lines changed
 

‎tests/baselines/reference/docker/azure-sdk.log

+497-104
Large diffs are not rendered by default.

‎tests/baselines/reference/docker/office-ui-fabric.log

+2,425-1,594
Large diffs are not rendered by default.

‎tests/baselines/reference/docker/prettier.log

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,39 @@
11
Exit Code: 0
22
Standard output:
33
yarn run vX.X.X
4-
$ node --max-old-space-size=3072 ./scripts/build/build.js
4+
$ node ./scripts/build/build.mjs
55
Building packages
66
index.js....................... DONE
77
doc.js......................... DONE
88
standalone.js.................. DONE
9+
esm/standalone.mjs........... DONE
910
bin-prettier.js................ DONE
11+
cli.js......................... DONE
1012
third-party.js................. DONE
1113
parser-babel.js................ DONE
14+
esm/parser-babel.mjs......... DONE
1215
parser-flow.js................. DONE
16+
esm/parser-flow.mjs.......... DONE
1317
parser-typescript.js........... DONE
18+
esm/parser-typescript.mjs.... DONE
1419
parser-espree.js............... DONE
20+
esm/parser-espree.mjs........ DONE
1521
parser-meriyah.js.............. DONE
22+
esm/parser-meriyah.mjs....... DONE
1623
parser-angular.js.............. DONE
24+
esm/parser-angular.mjs....... DONE
1725
parser-postcss.js.............. DONE
18-
esm/parser-postcss.mjs......... DONE
26+
esm/parser-postcss.mjs....... DONE
1927
parser-graphql.js.............. DONE
28+
esm/parser-graphql.mjs....... DONE
2029
parser-markdown.js............. DONE
30+
esm/parser-markdown.mjs...... DONE
2131
parser-glimmer.js.............. DONE
32+
esm/parser-glimmer.mjs....... DONE
2233
parser-html.js................. DONE
34+
esm/parser-html.mjs.......... DONE
2335
parser-yaml.js................. DONE
36+
esm/parser-yaml.mjs.......... DONE
2437
Done in ?s.
2538

2639

+35-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,43 @@
1-
Exit Code: 0
1+
Exit Code: 2
22
Standard output:
3+
pyright-internal: src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
4+
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.
5+
pyright-internal: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
6+
pyright-internal: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
7+
pyright-internal: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
8+
pyright-internal: Type '{}' is not assignable to type 'T | readonly T[]'.
9+
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.
10+
pyright-internal: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
11+
pyright-internal: src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
12+
pyright-internal: Type 'T | readonly T[]' is not assignable to type 'T'.
13+
pyright-internal: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.
14+
pyright: ../pyright-internal/src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
15+
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.
16+
pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
17+
pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
18+
pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
19+
pyright: Type '{}' is not assignable to type 'T | readonly T[]'.
20+
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.
21+
pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
22+
pyright: ../pyright-internal/src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
23+
pyright: Type 'T | readonly T[]' is not assignable to type 'T'.
24+
pyright: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.
25+
vscode-pyright: ../pyright-internal/src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
26+
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.
27+
vscode-pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
28+
vscode-pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
29+
vscode-pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
30+
vscode-pyright: Type '{}' is not assignable to type 'T | readonly T[]'.
31+
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.
32+
vscode-pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
33+
vscode-pyright: ../pyright-internal/src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
34+
vscode-pyright: Type 'T | readonly T[]' is not assignable to type 'T'.
35+
vscode-pyright: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.
336

437

538

639
Standard error:
740
lerna notice cli vX.X.X
841
lerna info Executing command in 3 packages: "tsc --noEmit"
42+
lerna ERR! Received non-zero exit code 2 during execution
943
lerna success exec Executed command in 3 packages: "tsc --noEmit"

‎tests/baselines/reference/docker/vscode.log

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ Standard output:
33
yarn run vX.X.X
44
$ node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile
55
[XX:XX:XX] Using gulpfile /vscode/gulpfile.js
6-
[XX:XX:XX] Error: /vscode/extensions/html-language-features/server/src/modes/javascriptMode.ts(130,4): Unused '@ts-expect-error' directive.
6+
[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
77
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
88

99

1010

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

‎tests/baselines/reference/docker/xterm.js.log

+1-21
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,9 @@ Standard output:
33

44
> xterm@X.X.X build /xtermjs
55
> tsc -b ./tsconfig.all.json
6-
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'?
7-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
8-
The file is in the program because:
9-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
10-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
11-
The file is in the program because:
12-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
136
addons/xterm-addon-ligatures/src/font.ts(6,26): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
147
addons/xterm-addon-ligatures/src/font.ts(7,44): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
15-
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.
16-
addons/xterm-addon-ligatures/src/font.ts(62,38): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
8+
addons/xterm-addon-ligatures/src/font.ts(71,38): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
179
addons/xterm-addon-ligatures/src/index.ts(7,22): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
1810
addons/xterm-addon-ligatures/src/index.ts(75,14): error TS2347: Untyped function calls may not accept type arguments.
1911
addons/xterm-addon-ligatures/src/index.ts(76,9): error TS7006: Parameter 'range' implicitly has an 'any' type.
@@ -24,18 +16,6 @@ addons/xterm-addon-ligatures/src/index.test.ts(10,32): error TS2307: Cannot find
2416
addons/xterm-addon-ligatures/src/index.test.ts(26,25): error TS2304: Cannot find name '__dirname'.
2517
addons/xterm-addon-ligatures/src/index.test.ts(33,25): error TS2304: Cannot find name '__dirname'.
2618
addons/xterm-addon-ligatures/src/index.test.ts(40,25): error TS2304: Cannot find name '__dirname'.
27-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
28-
The file is in the program because:
29-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
30-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
31-
The file is in the program because:
32-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
33-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
34-
The file is in the program because:
35-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
36-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
37-
The file is in the program because:
38-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
3919

4020

4121

‎tests/baselines/reference/user/adonis-framework.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ node_modules/adonis-framework/src/Session/index.js(265,12): error TS1359: Identi
238238
node_modules/adonis-framework/src/Session/index.js(267,15): error TS2304: Cannot find name 'Mixed'.
239239
node_modules/adonis-framework/src/Session/index.js(287,15): error TS2322: Type 'Generator<any, any, any>' is not assignable to type 'boolean'.
240240
node_modules/adonis-framework/src/Session/index.js(293,12): error TS2532: Object is possibly 'undefined'.
241-
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'?
241+
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.
242242
node_modules/adonis-framework/src/View/Form/index.js(75,11): error TS2532: Object is possibly 'undefined'.
243243
node_modules/adonis-framework/src/View/Form/index.js(115,15): error TS2304: Cannot find name 'Mixed'.
244244
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[]'.

0 commit comments

Comments
 (0)