Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 User test baselines have changed for inferTypeExtends #228

Open
wants to merge 2 commits into
base: user-baseline-updates
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
546 changes: 464 additions & 82 deletions tests/baselines/reference/docker/azure-sdk.log

Large diffs are not rendered by default.

2,789 changes: 1,157 additions & 1,632 deletions tests/baselines/reference/docker/office-ui-fabric.log

Large diffs are not rendered by default.

16 changes: 14 additions & 2 deletions tests/baselines/reference/docker/prettier.log
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
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
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
14 changes: 7 additions & 7 deletions tests/baselines/reference/docker/vscode.log
Original file line number Diff line number Diff line change
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.
146 changes: 29 additions & 117 deletions tests/baselines/reference/docker/vue-next.log

Large diffs are not rendered by default.

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:

> 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Exit Code: 2
Standard output:
node_modules/@types/react-native/index.d.ts(8685,18): error TS2717: Subsequent property declarations must have the same type. Property 'geolocation' must be of type 'Geolocation', but here has type 'GeolocationStatic'.
node_modules/@types/react-native/index.d.ts(8745,18): error TS2717: Subsequent property declarations must have the same type. Property 'geolocation' must be of type 'Geolocation', but here has type 'GeolocationStatic'.



Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/user/acorn.log
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ node_modules/acorn/acorn/dist/bin.js(58,23): error TS2769: No overload matches t
Type 'undefined' is not assignable to type 'PathOrFileDescriptor'.
Overload 2 of 3, '(path: PathOrFileDescriptor, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'.
Overload 3 of 3, '(path: PathOrFileDescriptor, options?: BufferEncoding | (ObjectEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error.
Overload 3 of 3, '(path: PathOrFileDescriptor, options?: BufferEncoding | ObjectEncodingOptions & { flag?: string | undefined; } | null | undefined): string | Buffer', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'.
node_modules/acorn/bin/_acorn.js(51,30): error TS2339: Property 'getToken' does not exist on type 'Parser'.
node_modules/acorn/bin/_acorn.js(56,19): error TS2571: Object is of type 'unknown'.
Expand All @@ -990,7 +990,7 @@ node_modules/acorn/bin/_acorn.js(63,23): error TS2769: No overload matches this
Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'.
Overload 2 of 3, '(path: PathOrFileDescriptor, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'.
Overload 3 of 3, '(path: PathOrFileDescriptor, options?: BufferEncoding | (ObjectEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error.
Overload 3 of 3, '(path: PathOrFileDescriptor, options?: BufferEncoding | ObjectEncodingOptions & { flag?: string | undefined; } | null | undefined): string | Buffer', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'.
node_modules/acorn/bin/run_test262.js(3,21): error TS2307: Cannot find module 'test262-parser-runner' or its corresponding type declarations.
node_modules/acorn/dist/acorn.es.js(36,1): error TS2322: Type 'null' is not assignable to type 'string'.
Expand Down
Loading