diff --git a/tests/baselines/reference/docker/office-ui-fabric.log b/tests/baselines/reference/docker/office-ui-fabric.log index b9dda54db6229..58f874420e859 100644 --- a/tests/baselines/reference/docker/office-ui-fabric.log +++ b/tests/baselines/reference/docker/office-ui-fabric.log @@ -12,9 +12,25 @@ Standard output: @uifabric/example-data: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib-commonjs --module commonjs --project "/office-ui-fabric-react/packages/example-data/tsconfig.json" @uifabric/example-data: [XX:XX:XX XM] ■ Running /office-ui-fabric-react/node_modules/typescript/lib/tsc.js with /office-ui-fabric-react/packages/example-data/tsconfig.json @uifabric/example-data: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib --module esnext --project "/office-ui-fabric-react/packages/example-data/tsconfig.json" -@uifabric/example-data: [XX:XX:XX XM] ■ Running Webpack -@uifabric/example-data: [XX:XX:XX XM] ■ Webpack Config Path: /office-ui-fabric-react/packages/example-data/webpack.config.js +@uifabric/example-data: [XX:XX:XX XM] ■ Running webpack-cli as a node process +@uifabric/example-data: [XX:XX:XX XM] ■ webpack-cli arguments: /usr/local/bin/node --max-old-space-size=4096 /office-ui-fabric-react/node_modules/webpack-cli/bin/cli.js @uifabric/example-data: Webpack version: 4.29.5 +@uifabric/example-data: Hash: eb7eacffb3eced977b0a +@uifabric/example-data: Version: webpack 4.29.5 +@uifabric/example-data: Child +@uifabric/example-data: Hash: eb7eacffb3eced977b0a +@uifabric/example-data: Time: ?s +@uifabric/example-data: Built at: 11/22/2019 11:09:47 PM +@uifabric/example-data: Asset Size Chunks Chunk Names +@uifabric/example-data: example-data.js 34.2 KiB example-data [emitted] example-data +@uifabric/example-data: example-data.js.map 30.3 KiB example-data [emitted] example-data +@uifabric/example-data: Entrypoint example-data = example-data.js example-data.js.map +@uifabric/example-data: [./lib/facepile.js] 6.54 KiB {example-data} [built] +@uifabric/example-data: [./lib/index.js] 415 bytes {example-data} [built] +@uifabric/example-data: [./lib/listItems.js] 1.9 KiB {example-data} [built] +@uifabric/example-data: [./lib/lorem.js] 733 bytes {example-data} [built] +@uifabric/example-data: [./lib/people.js] 13.8 KiB {example-data} [built] +@uifabric/example-data: [./lib/testImages.js] 938 bytes {example-data} [built] @uifabric/example-data: [XX:XX:XX XM] ■ Extracting Public API surface from '/office-ui-fabric-react/packages/example-data/lib/index.d.ts' @uifabric/example-data: Done in ?s. @uifabric/migration: yarn run vX.X.X @@ -40,9 +56,6 @@ Standard output: @uifabric/set-version: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib-commonjs --module commonjs --project "/office-ui-fabric-react/packages/set-version/tsconfig.json" @uifabric/set-version: [XX:XX:XX XM] ■ Running /office-ui-fabric-react/node_modules/typescript/lib/tsc.js with /office-ui-fabric-react/packages/set-version/tsconfig.json @uifabric/set-version: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib --module esnext --project "/office-ui-fabric-react/packages/set-version/tsconfig.json" -@uifabric/set-version: [XX:XX:XX XM] ■ Running Webpack -@uifabric/set-version: [XX:XX:XX XM] ■ Webpack Config Path: null -@uifabric/set-version: [XX:XX:XX XM] ■ webpack.config.js not found, skipping webpack @uifabric/set-version: Done in ?s. @uifabric/webpack-utils: yarn run vX.X.X @uifabric/webpack-utils: $ just-scripts build @@ -63,9 +76,60 @@ Standard output: @uifabric/merge-styles: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib --module esnext --project "/office-ui-fabric-react/packages/merge-styles/tsconfig.json" @uifabric/merge-styles: [XX:XX:XX XM] ■ Running Jest @uifabric/merge-styles: [XX:XX:XX XM] ■ /usr/local/bin/node "/office-ui-fabric-react/node_modules/jest/bin/jest.js" --config "/office-ui-fabric-react/packages/merge-styles/jest.config.js" --passWithNoTests --colors --forceExit -@uifabric/merge-styles: [XX:XX:XX XM] ■ Running Webpack -@uifabric/merge-styles: [XX:XX:XX XM] ■ Webpack Config Path: /office-ui-fabric-react/packages/merge-styles/webpack.config.js +@uifabric/merge-styles: [XX:XX:XX XM] ■ Running webpack-cli as a node process +@uifabric/merge-styles: [XX:XX:XX XM] ■ webpack-cli arguments: /usr/local/bin/node --max-old-space-size=4096 /office-ui-fabric-react/node_modules/webpack-cli/bin/cli.js @uifabric/merge-styles: Webpack version: 4.29.5 +@uifabric/merge-styles: Hash: 479c2418c5e8d5ccdc461ad9563ae9311f1249ef +@uifabric/merge-styles: Version: webpack 4.29.5 +@uifabric/merge-styles: Child +@uifabric/merge-styles: Hash: 479c2418c5e8d5ccdc46 +@uifabric/merge-styles: Time: ?s +@uifabric/merge-styles: Built at: 11/22/2019 11:10:21 PM +@uifabric/merge-styles: Asset Size Chunks Chunk Names +@uifabric/merge-styles: merge-styles.js 63.7 KiB merge-styles [emitted] merge-styles +@uifabric/merge-styles: merge-styles.js.map 70.3 KiB merge-styles [emitted] merge-styles +@uifabric/merge-styles: Entrypoint merge-styles = merge-styles.js merge-styles.js.map +@uifabric/merge-styles: [../set-version/lib/index.js] 112 bytes {merge-styles} [built] +@uifabric/merge-styles: [../set-version/lib/setVersion.js] 945 bytes {merge-styles} [built] +@uifabric/merge-styles: [./lib/StyleOptionsState.js] 485 bytes {merge-styles} [built] +@uifabric/merge-styles: [./lib/Stylesheet.js] 8.36 KiB {merge-styles} [built] +@uifabric/merge-styles: [./lib/concatStyleSets.js] 3.42 KiB {merge-styles} [built] +@uifabric/merge-styles: [./lib/concatStyleSetsWithProps.js] 1.2 KiB {merge-styles} [built] +@uifabric/merge-styles: [./lib/extractStyleParts.js] 1.61 KiB {merge-styles} [built] +@uifabric/merge-styles: [./lib/fontFace.js] 353 bytes {merge-styles} [built] +@uifabric/merge-styles: [./lib/index.js] 448 bytes {merge-styles} [built] +@uifabric/merge-styles: [./lib/keyframes.js] 763 bytes {merge-styles} [built] +@uifabric/merge-styles: [./lib/mergeStyleSets.js] 2.56 KiB {merge-styles} [built] +@uifabric/merge-styles: [./lib/mergeStyles.js] 967 bytes {merge-styles} [built] +@uifabric/merge-styles: [./lib/styleToClassName.js] 9.64 KiB {merge-styles} [built] +@uifabric/merge-styles: [./lib/transforms/kebabRules.js] 197 bytes {merge-styles} [built] +@uifabric/merge-styles: [./lib/version.js] 247 bytes {merge-styles} [built] +@uifabric/merge-styles: + 5 hidden modules +@uifabric/merge-styles: Child +@uifabric/merge-styles: Hash: 1ad9563ae9311f1249ef +@uifabric/merge-styles: Time: ?s +@uifabric/merge-styles: Built at: 11/22/2019 11:10:21 PM +@uifabric/merge-styles: Asset Size Chunks Chunk Names +@uifabric/merge-styles: merge-styles.min.js 11.7 KiB 0 [emitted] merge-styles +@uifabric/merge-styles: merge-styles.min.js.map 3.05 KiB 0 [emitted] merge-styles +@uifabric/merge-styles: Entrypoint merge-styles = merge-styles.min.js merge-styles.min.js.map +@uifabric/merge-styles: [0] ./lib/index.js + 19 modules 45.2 KiB {0} [built] +@uifabric/merge-styles: | ./lib/index.js 448 bytes [built] +@uifabric/merge-styles: | ./lib/Stylesheet.js 8.36 KiB [built] +@uifabric/merge-styles: | ./lib/StyleOptionsState.js 485 bytes [built] +@uifabric/merge-styles: | ./lib/mergeStyles.js 967 bytes [built] +@uifabric/merge-styles: | ./lib/concatStyleSets.js 3.42 KiB [built] +@uifabric/merge-styles: | ./lib/mergeStyleSets.js 2.56 KiB [built] +@uifabric/merge-styles: | ./lib/concatStyleSetsWithProps.js 1.2 KiB [built] +@uifabric/merge-styles: | ./lib/fontFace.js 353 bytes [built] +@uifabric/merge-styles: | ./lib/keyframes.js 763 bytes [built] +@uifabric/merge-styles: | ./lib/version.js 247 bytes [built] +@uifabric/merge-styles: | ./lib/extractStyleParts.js 1.61 KiB [built] +@uifabric/merge-styles: | ./lib/styleToClassName.js 9.64 KiB [built] +@uifabric/merge-styles: | ../set-version/lib/index.js 112 bytes [built] +@uifabric/merge-styles: | ./lib/transforms/kebabRules.js 197 bytes [built] +@uifabric/merge-styles: | ./lib/transforms/prefixRules.js 803 bytes [built] +@uifabric/merge-styles: | + 5 hidden modules @uifabric/merge-styles: PASS src/styleToClassName.test.ts @uifabric/merge-styles: PASS src/mergeStyleSets.test.ts @uifabric/merge-styles: PASS src/mergeStyles.test.ts @@ -80,7 +144,6 @@ Standard output: @uifabric/merge-styles: PASS src/Stylesheet.test.ts @uifabric/merge-styles: PASS src/extractStyleParts.test.ts @uifabric/merge-styles: PASS src/concatStyleSetsWithProps.test.ts -@uifabric/merge-styles: PASS src/fontFace.test.ts @uifabric/merge-styles: [XX:XX:XX XM] ■ Extracting Public API surface from '/office-ui-fabric-react/packages/merge-styles/lib/index.d.ts' @uifabric/merge-styles: Done in ?s. @uifabric/jest-serializer-merge-styles: yarn run vX.X.X @@ -112,9 +175,6 @@ Standard output: @uifabric/utilities: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib --module esnext --project "/office-ui-fabric-react/packages/utilities/tsconfig.json" @uifabric/utilities: [XX:XX:XX XM] ■ Running Jest @uifabric/utilities: [XX:XX:XX XM] ■ /usr/local/bin/node "/office-ui-fabric-react/node_modules/jest/bin/jest.js" --config "/office-ui-fabric-react/packages/utilities/jest.config.js" --passWithNoTests --colors --forceExit -@uifabric/utilities: [XX:XX:XX XM] ■ Running Webpack -@uifabric/utilities: [XX:XX:XX XM] ■ Webpack Config Path: null -@uifabric/utilities: [XX:XX:XX XM] ■ webpack.config.js not found, skipping webpack @uifabric/utilities: PASS src/warn/warnControlledUsage.test.ts @uifabric/utilities: PASS src/focus.test.tsx @uifabric/utilities: PASS src/styled.test.tsx @@ -177,7 +237,15 @@ lerna info Executing command in 42 packages: "yarn run build" @uifabric/utilities: Warning: You have changed the public API signature for this project. Please copy the file "temp/utilities.api.md" to "etc/utilities.api.md", or perform a local build (which does this automatically). See the Git repo documentation for more info. @uifabric/utilities: [XX:XX:XX XM] x Error detected while running '_wrapFunction' @uifabric/utilities: [XX:XX:XX XM] x ------------------------------------ -@uifabric/utilities: [XX:XX:XX XM] x The public API file is out of date. Please run the API snapshot and commit the updated API file. +@uifabric/utilities: [XX:XX:XX XM] x Error: The public API file is out of date. Please run the API snapshot and commit the updated API file. +@uifabric/utilities: at apiExtractorVerify (/office-ui-fabric-react/node_modules/just-scripts/lib/tasks/apiExtractorTask.js:26:19) +@uifabric/utilities: at _wrapFunction (/office-ui-fabric-react/node_modules/just-task/lib/wrapTask.js:13:36) +@uifabric/utilities: at verify-api-extractor (/office-ui-fabric-react/node_modules/undertaker/lib/set-task.js:13:15) +@uifabric/utilities: at _wrapFunction (/office-ui-fabric-react/node_modules/just-task/lib/wrapTask.js:10:16) +@uifabric/utilities: at bound (domain.js:419:14) +@uifabric/utilities: at runBound (domain.js:432:12) +@uifabric/utilities: at asyncRunner (/office-ui-fabric-react/node_modules/async-done/index.js:55:18) +@uifabric/utilities: at processTicksAndRejections (internal/process/task_queues.js:75:11) @uifabric/utilities: [XX:XX:XX XM] x ------------------------------------ @uifabric/utilities: [XX:XX:XX XM] x Error previously detected. See above for error messages. @uifabric/utilities: error Command failed with exit code 1. diff --git a/tests/baselines/reference/docker/vscode.log b/tests/baselines/reference/docker/vscode.log index c1a5c3eb6f905..45c7728bdb5d0 100644 --- a/tests/baselines/reference/docker/vscode.log +++ b/tests/baselines/reference/docker/vscode.log @@ -1,25 +1,11 @@ -Exit Code: 1 +Exit Code: 0 Standard output: yarn run vX.X.X $ gulp compile --max_old_space_size=4095 [XX:XX:XX] Node flags detected: --max_old_space_size=4095 [XX:XX:XX] Using gulpfile /vscode/gulpfile.js -[XX:XX:XX] Error: /vscode/extensions/typescript-language-features/src/features/fileConfigurationManager.ts(170,4): Type 'string | undefined' is not assignable to type 'SemicolonPreference | undefined'. - Type 'string' is not assignable to type 'SemicolonPreference | undefined'. -info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. +Done in ?s. Standard error: -[XX:XX:XX] 'compile' errored after ?s -[XX:XX:XX] Error: Found 1 errors - at Stream. (/vscode/build/lib/reporter.js:74: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:570:10) - at Object.onceWrapper (events.js:286:20) - at StreamFilter.emit (events.js:203:15) - at StreamFilter.EventEmitter.emit (domain.js:466:23) - at endReadableNT (/vscode/node_modules/readable-stream/lib/_stream_readable.js:992:12) - at process._tickCallback (internal/process/next_tick.js:63:19) -error Command failed with exit code 1. diff --git a/tests/baselines/reference/docker/xterm.js.log b/tests/baselines/reference/docker/xterm.js.log index f75353111523d..6024f04e09d8b 100644 --- a/tests/baselines/reference/docker/xterm.js.log +++ b/tests/baselines/reference/docker/xterm.js.log @@ -1,24 +1,9 @@ -Exit Code: 2 +Exit Code: 0 Standard output: > xterm@X.X.X build /xtermjs > tsc -b ./tsconfig.all.json -src/browser/Clipboard.ts(85,5): error TS2322: Type 'null' is not assignable to type 'string'. -src/browser/Clipboard.ts(86,5): error TS2322: Type 'null' is not assignable to type 'string'. -src/browser/Clipboard.ts(87,5): error TS2322: Type 'null' is not assignable to type 'string'. -src/browser/Clipboard.ts(88,5): error TS2322: Type 'null' is not assignable to type 'string'. -src/browser/Clipboard.ts(89,5): error TS2322: Type 'null' is not assignable to type 'string'. -src/browser/Clipboard.ts(90,5): error TS2322: Type 'null' is not assignable to type 'string'. Standard error: -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! xterm@X.X.X build: `tsc -b ./tsconfig.all.json` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the xterm@X.X.X build script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log diff --git a/tests/baselines/reference/user/adonis-framework.log b/tests/baselines/reference/user/adonis-framework.log index b6797d03840d4..443cfcb5ffde4 100644 --- a/tests/baselines/reference/user/adonis-framework.log +++ b/tests/baselines/reference/user/adonis-framework.log @@ -27,9 +27,9 @@ node_modules/adonis-framework/src/Encryption/index.js(71,34): error TS2769: No o node_modules/adonis-framework/src/Encryption/index.js(77,50): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/adonis-framework/src/Encryption/index.js(85,23): error TS8024: JSDoc '@param' tag has name 'value', but there is no parameter with that name. node_modules/adonis-framework/src/Encryption/index.js(87,15): error TS2304: Cannot find name 'Mixed'. -node_modules/adonis-framework/src/Encryption/index.js(101,21): error TS2769: No overload matches this call. - Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error. - Argument of type '"base64"' is not assignable to parameter of type 'undefined'. +node_modules/adonis-framework/src/Encryption/index.js(101,62): error TS2769: No overload matches this call. + Overload 1 of 4, '(data: ArrayBufferView, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error. + Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'. Overload 2 of 4, '(data: string, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error. Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'. node_modules/adonis-framework/src/Encryption/index.js(114,15): error TS2304: Cannot find name 'Mixed'. diff --git a/tests/baselines/reference/user/axios-src.log b/tests/baselines/reference/user/axios-src.log index b9c1388292aa1..dd75a7d1b97c2 100644 --- a/tests/baselines/reference/user/axios-src.log +++ b/tests/baselines/reference/user/axios-src.log @@ -1,10 +1,10 @@ Exit Code: 1 Standard output: lib/adapters/http.js(13,19): error TS2732: Cannot find module './../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension -lib/adapters/http.js(84,22): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -lib/adapters/http.js(124,17): error TS2532: Object is possibly 'undefined'. -lib/adapters/http.js(124,40): error TS2532: Object is possibly 'undefined'. +lib/adapters/http.js(84,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'. + Type 'null' is not assignable to type 'string'. +lib/adapters/http.js(124,17): error TS2531: Object is possibly 'null'. +lib/adapters/http.js(124,40): error TS2531: Object is possibly 'null'. lib/adapters/http.js(223,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. lib/adapters/http.js(229,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. lib/adapters/http.js(235,13): error TS2322: Type 'string' is not assignable to type 'Buffer'. @@ -45,8 +45,8 @@ lib/core/enhanceError.js(37,20): error TS2339: Property 'config' does not exist lib/core/enhanceError.js(38,18): error TS2339: Property 'code' does not exist on type 'Error'. lib/core/settle.js(20,7): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. lib/helpers/cookies.js(16,56): error TS2551: Property 'toGMTString' does not exist on type 'Date'. Did you mean 'toUTCString'? -lib/utils.js(248,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type. -lib/utils.js(272,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type. +lib/utils.js(258,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type. +lib/utils.js(282,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type. diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 510e327c93145..57738224667f1 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -1,7 +1,7 @@ Exit Code: 1 Standard output: ../../../../built/local/lib.es5.d.ts(1433,11): error TS2300: Duplicate identifier 'ArrayLike'. -../../../../node_modules/@types/node/globals.d.ts(231,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'. +../../../../node_modules/@types/node/globals.d.ts(235,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(77,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/Runtime.js(78,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. diff --git a/tests/baselines/reference/user/prettier.log b/tests/baselines/reference/user/prettier.log deleted file mode 100644 index 5bd779cfe32dd..0000000000000 --- a/tests/baselines/reference/user/prettier.log +++ /dev/null @@ -1,295 +0,0 @@ -Exit Code: 1 -Standard output: -node_modules/@glimmer/interfaces/dist/types/lib/components.d.ts(1,40): error TS2307: Cannot find module '@glimmer/reference'. -node_modules/@glimmer/interfaces/dist/types/lib/components/component-manager.d.ts(1,45): error TS2307: Cannot find module '@glimmer/reference'. -node_modules/@glimmer/interfaces/dist/types/lib/components/component-manager.d.ts(2,31): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/interfaces/dist/types/lib/dom/attributes.d.ts(8,8): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/interfaces/dist/types/lib/dom/bounds.d.ts(1,43): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/interfaces/dist/types/lib/dom/changes.d.ts(7,8): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/interfaces/dist/types/lib/dom/tree-construction.d.ts(7,8): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/arguments.d.ts(1,45): error TS2307: Cannot find module '@glimmer/reference'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/element.d.ts(1,36): error TS2307: Cannot find module '@glimmer/reference'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/environment.d.ts(1,76): error TS2307: Cannot find module '@glimmer/reference'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/environment.d.ts(2,36): error TS2307: Cannot find module '@glimmer/runtime'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/environment.d.ts(3,46): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/modifier.d.ts(4,21): error TS2307: Cannot find module '@glimmer/reference'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/modifier.d.ts(6,31): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/render.d.ts(1,43): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/scope.d.ts(2,40): error TS2307: Cannot find module '@glimmer/reference'. -node_modules/@glimmer/interfaces/dist/types/lib/runtime/vm.d.ts(2,31): error TS2307: Cannot find module '@glimmer/reference'. -node_modules/@glimmer/util/dist/types/lib/destroy.d.ts(3,69): error TS2677: A type predicate's type must be assignable to its parameter's type. - Type 'SymbolDestroyable' is not assignable to type 'Maybe>'. - Type 'SymbolDestroyable' is not assignable to type 'Dict'. - Index signature is missing in type 'SymbolDestroyable'. -node_modules/@glimmer/util/dist/types/lib/dom.d.ts(1,31): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@glimmer/util/dist/types/lib/is-serialization-first-node.d.ts(1,28): error TS2307: Cannot find module '@simple-dom/interface'. -node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts(1,8): error TS1259: Module '"/prettier/prettier/node_modules/typescript/lib/typescript"' can only be default-imported using the 'esModuleInterop' flag -src/cli/util.js(60,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'. -src/cli/util.js(119,38): error TS2339: Property 'sync' does not exist on type '(...args: any[]) => any'. -src/cli/util.js(413,36): error TS2345: Argument of type '{ dot: true; nodir: boolean; }' is not assignable to parameter of type 'GlobbyOptions'. - Object literal may only specify known properties, and 'nodir' does not exist in type 'GlobbyOptions'. -src/cli/util.js(507,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'. -src/cli/util.js(528,37): error TS2339: Property 'grey' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'. -src/cli/util.js(591,16): error TS2339: Property 'type' does not exist on type 'never'. -src/cli/util.js(592,16): error TS2339: Property 'oppositeDescription' does not exist on type 'never'. -src/cli/util.js(593,17): error TS2339: Property 'name' does not exist on type 'never'. -src/cli/util.js(693,22): error TS2339: Property 'name' does not exist on type 'never'. -src/cli/util.js(693,46): error TS2339: Property 'alias' does not exist on type 'never'. -src/common/create-ignorer.js(34,19): error TS2349: This expression is not callable. - Type 'typeof import("/prettier/prettier/node_modules/ignore/index")' has no call signatures. -src/common/get-file-info.js(36,27): error TS2339: Property 'resolveConfig' does not exist on type '{ ignorePath?: string | undefined; withNodeModules?: boolean | undefined; plugins: any; }'. -src/common/get-file-info.js(59,25): error TS2339: Property 'resolveConfig' does not exist on type '{ ignorePath?: string | undefined; withNodeModules?: boolean | undefined; plugins: any; }'. -src/common/parser-create-error.js(8,9): error TS2339: Property 'loc' does not exist on type 'SyntaxError'. -src/config/resolve-config.js(14,12): error TS2571: Object is of type 'unknown'. -src/config/resolve-config.js(50,16): error TS2571: Object is of type 'unknown'. -src/config/resolve-config.js(51,18): error TS2571: Object is of type 'unknown'. -src/config/resolve-config.js(121,32): error TS2345: Argument of type '{ sync: false; }' is not assignable to parameter of type '{ cache: boolean; sync: boolean; }'. - Property 'cache' is missing in type '{ sync: false; }' but required in type '{ cache: boolean; sync: boolean; }'. -src/config/resolve-config.js(128,32): error TS2345: Argument of type '{ sync: true; }' is not assignable to parameter of type '{ cache: boolean; sync: boolean; }'. - Property 'cache' is missing in type '{ sync: true; }' but required in type '{ cache: boolean; sync: boolean; }'. -src/doc/doc-printer.js(7,14): error TS1023: An index signature parameter type must be either 'string' or 'number'. -src/doc/doc-printer.js(7,37): error TS2304: Cannot find name 'MODE'. -src/doc/doc-printer.js(257,17): error TS2532: Object is possibly 'undefined'. -src/doc/doc-printer.js(258,18): error TS2532: Object is possibly 'undefined'. -src/doc/doc-printer.js(259,17): error TS2532: Object is possibly 'undefined'. -src/doc/doc-printer.js(501,37): error TS2345: Argument of type 'any[][]' is not assignable to parameter of type 'never[]'. - Type 'any[]' is not assignable to type 'never'. -src/index.js(3,25): error TS2732: Cannot find module '../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension -src/index.js(30,17): error TS2339: Property 'sync' does not exist on type '(...args: any[]) => any'. -src/language-css/clean.js(3,30): error TS2307: Cannot find module 'html-tag-names'. -src/language-css/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/CSS'. -src/language-css/index.js(15,26): error TS2307: Cannot find module 'linguist-languages/data/PostCSS'. -src/language-css/index.js(23,26): error TS2307: Cannot find module 'linguist-languages/data/Less'. -src/language-css/index.js(30,26): error TS2307: Cannot find module 'linguist-languages/data/SCSS'. -src/language-css/parser-postcss.js(64,32): error TS2345: Argument of type '{ groups: never[]; type: string; }' is not assignable to parameter of type 'never'. -src/language-css/parser-postcss.js(74,30): error TS2345: Argument of type '{ open: null; close: null; groups: never[]; type: string; }' is not assignable to parameter of type 'never'. -src/language-css/parser-postcss.js(79,30): error TS2345: Argument of type '{ groups: never[]; type: string; }' is not assignable to parameter of type 'never'. -src/language-css/parser-postcss.js(86,30): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -src/language-css/parser-postcss.js(90,28): error TS2345: Argument of type '{ groups: never[]; type: string; }' is not assignable to parameter of type 'never'. -src/language-css/parser-postcss.js(449,32): error TS2531: Object is possibly 'null'. -src/language-css/utils.js(3,30): error TS2307: Cannot find module 'html-tag-names'. -src/language-graphql/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/GraphQL'. -src/language-graphql/parser-graphql.js(64,17): error TS2532: Object is possibly 'undefined'. -src/language-graphql/parser-graphql.js(65,19): error TS2532: Object is possibly 'undefined'. -src/language-handlebars/index.js(7,26): error TS2307: Cannot find module 'linguist-languages/data/Handlebars'. -src/language-html/ast.js(53,11): error TS2536: Type 'Extract' cannot be used to index type 'Node'. -src/language-html/ast.js(56,15): error TS2339: Property 'index' does not exist on type 'Node'. -src/language-html/ast.js(56,22): error TS2339: Property 'siblings' does not exist on type 'Node'. -src/language-html/ast.js(56,32): error TS2339: Property 'prev' does not exist on type 'Node'. -src/language-html/ast.js(56,38): error TS2339: Property 'next' does not exist on type 'Node'. -src/language-html/ast.js(56,44): error TS2339: Property 'parent' does not exist on type 'Node'. -src/language-html/ast.js(74,17): error TS2339: Property 'children' does not exist on type 'Node'. -src/language-html/ast.js(74,34): error TS2339: Property 'children' does not exist on type 'Node'. -src/language-html/ast.js(75,14): error TS2339: Property 'children' does not exist on type 'Node'. -src/language-html/ast.js(80,17): error TS2339: Property 'children' does not exist on type 'Node'. -src/language-html/ast.js(80,34): error TS2339: Property 'children' does not exist on type 'Node'. -src/language-html/ast.js(81,14): error TS2339: Property 'children' does not exist on type 'Node'. -src/language-html/ast.js(81,28): error TS2339: Property 'children' does not exist on type 'Node'. -src/language-html/ast.js(87,17): error TS2339: Property 'hasExplicitNamespace' does not exist on type 'Node'. -src/language-html/ast.js(87,61): error TS2339: Property 'name' does not exist on type 'Node'. -src/language-html/ast.js(90,17): error TS2339: Property 'namespace' does not exist on type 'Node'. -src/language-html/ast.js(90,34): error TS2339: Property 'namespace' does not exist on type 'Node'. -src/language-html/ast.js(90,57): error TS2339: Property 'name' does not exist on type 'Node'. -src/language-html/ast.js(90,69): error TS2339: Property 'name' does not exist on type 'Node'. -src/language-html/conditional-comment.js(23,16): error TS2349: This expression is not callable. - Not all constituents of type 'RegExp | ((node: any) => { type: string; sourceSpan: any; })' are callable. - Type 'RegExp' has no call signatures. -src/language-html/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/HTML'. -src/language-html/index.js(18,26): error TS2307: Cannot find module 'linguist-languages/data/HTML'. -src/language-html/index.js(28,26): error TS2307: Cannot find module 'linguist-languages/data/HTML'. -src/language-html/index.js(38,26): error TS2307: Cannot find module 'linguist-languages/data/Vue'. -src/language-html/parser-html.js(52,12): error TS2339: Property 'type' does not exist on type 'Attribute'. -src/language-html/parser-html.js(54,12): error TS2339: Property 'type' does not exist on type 'CDATA'. -src/language-html/parser-html.js(56,12): error TS2339: Property 'type' does not exist on type 'Comment'. -src/language-html/parser-html.js(58,12): error TS2339: Property 'type' does not exist on type 'DocType'. -src/language-html/parser-html.js(60,12): error TS2339: Property 'type' does not exist on type 'Element'. -src/language-html/parser-html.js(62,12): error TS2339: Property 'type' does not exist on type 'Text'. -src/language-html/parser-html.js(89,11): error TS2322: Type 'null' is not assignable to type 'string'. -src/language-html/parser-html.js(114,16): error TS2551: Property 'namespace' does not exist on type 'Element'. Did you mean 'nameSpan'? -src/language-html/parser-html.js(115,16): error TS2551: Property 'namespace' does not exist on type 'Element'. Did you mean 'nameSpan'? -src/language-html/parser-html.js(115,35): error TS2339: Property 'tagDefinition' does not exist on type 'Element'. -src/language-html/parser-html.js(127,21): error TS2551: Property 'namespace' does not exist on type 'Attribute'. Did you mean 'nameSpan'? -src/language-html/parser-html.js(156,15): error TS2551: Property 'namespace' does not exist on type 'Element'. Did you mean 'nameSpan'? -src/language-html/parser-html.js(157,14): error TS2551: Property 'namespace' does not exist on type 'Element'. Did you mean 'nameSpan'? -src/language-html/parser-html.js(159,14): error TS2339: Property 'tagDefinition' does not exist on type 'Element'. -src/language-html/parser-html.js(161,14): error TS2339: Property 'tagDefinition' does not exist on type 'Element'. -src/language-html/parser-html.js(194,29): error TS2345: Argument of type '{ type: any; value: any; raw: any; }' is not assignable to parameter of type 'Node'. - Type '{ type: any; value: any; raw: any; }' is missing the following properties from type 'Node': sourceSpan, visit -src/language-html/preprocess.js(28,19): error TS2554: Expected 0-1 arguments, but got 2. -src/language-html/printer-html.js(314,13): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. - Type '""' is not assignable to type 'ConcatArray'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. - Type '""' is not assignable to type 'ConcatArray'. -src/language-html/printer-html.js(471,11): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '{ type: string; parts: any; }[]' is not assignable to parameter of type 'ConcatArray'. - The types returned by 'slice(...)' are incompatible between these types. - Type '{ type: string; parts: any; }[]' is not assignable to type 'never[]'. - Type '{ type: string; parts: any; }' is not assignable to type 'never'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '{ type: string; parts: any; }[]' is not assignable to parameter of type 'ConcatArray'. -src/language-html/printer-html.js(492,11): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. - Type '""' is not assignable to type 'ConcatArray'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. - Type '""' is not assignable to type 'ConcatArray'. -src/language-html/printer-html.js(515,11): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. - Type '""' is not assignable to type 'ConcatArray'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. - Type '""' is not assignable to type 'ConcatArray'. -src/language-html/printer-html.js(638,55): error TS2554: Expected 0 arguments, but got 1. -src/language-html/syntax-vue.js(14,11): error TS2339: Property 'left' does not exist on type '{ left: string; operator: any; right: any; } | undefined'. -src/language-html/syntax-vue.js(14,17): error TS2339: Property 'operator' does not exist on type '{ left: string; operator: any; right: any; } | undefined'. -src/language-html/syntax-vue.js(14,27): error TS2339: Property 'right' does not exist on type '{ left: string; operator: any; right: any; } | undefined'. -src/language-html/utils.js(10,30): error TS2307: Cannot find module 'html-tag-names'. -src/language-html/utils.js(11,39): error TS2307: Cannot find module 'html-element-attributes'. -src/language-html/utils.js(444,17): error TS2554: Expected 0 arguments, but got 1. -src/language-js/comments.js(867,64): error TS2554: Expected 0 arguments, but got 1. -src/language-js/index.js(9,26): error TS2307: Cannot find module 'linguist-languages/data/JavaScript'. -src/language-js/index.js(17,26): error TS2307: Cannot find module 'linguist-languages/data/JavaScript'. -src/language-js/index.js(28,26): error TS2307: Cannot find module 'linguist-languages/data/JSX'. -src/language-js/index.js(35,26): error TS2307: Cannot find module 'linguist-languages/data/TypeScript'. -src/language-js/index.js(42,26): error TS2307: Cannot find module 'linguist-languages/data/TSX'. -src/language-js/index.js(49,26): error TS2307: Cannot find module 'linguist-languages/data/JSON'. -src/language-js/index.js(59,26): error TS2307: Cannot find module 'linguist-languages/data/JSON'. -src/language-js/index.js(67,26): error TS2307: Cannot find module 'linguist-languages/data/JSON with Comments'. -src/language-js/index.js(75,26): error TS2307: Cannot find module 'linguist-languages/data/JSON5'. -src/language-js/needs-parens.js(893,14): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error. - Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'. - The types returned by 'slice(...)' are incompatible between these types. - Type '(string | number)[]' is not assignable to type '((childPath: any) => any)[]'. - Type 'string | number' is not assignable to type '(childPath: any) => any'. - Type 'string' is not assignable to type '(childPath: any) => any'. - Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error. - Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'. - Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'. -src/language-js/printer-estree.js(263,36): error TS2304: Cannot find name 'Doc'. -src/language-js/printer-estree.js(264,62): error TS2304: Cannot find name 'Doc'. -src/language-js/printer-estree.js(271,12): error TS2304: Cannot find name 'FastPath'. -src/language-js/printer-estree.js(272,12): error TS2304: Cannot find name 'Options'. -src/language-js/printer-estree.js(401,9): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray'. - Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray': length, join, slice - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray'. - Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray'. -src/language-js/printer-estree.js(1929,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. -src/language-js/printer-estree.js(1931,20): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. - Type '{ type: string; parts: any; }' is missing the following properties from type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }': id, contents, break, expandedStates -src/language-js/printer-estree.js(1933,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. -src/language-js/printer-estree.js(1942,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. -src/language-js/printer-estree.js(3467,11): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray'. - Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray'. - Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray'. -src/language-js/printer-estree.js(3817,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -src/language-js/printer-estree.js(4033,23): error TS2532: Object is possibly 'undefined'. -src/language-js/printer-estree.js(4034,24): error TS2532: Object is possibly 'undefined'. -src/language-js/printer-estree.js(4355,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'. - Type '{ type: string; parts: any; }' is not assignable to type 'string'. -src/language-js/printer-estree.js(4359,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'. -src/language-js/printer-estree.js(4407,11): error TS2322: Type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }' is not assignable to type 'string'. -src/language-js/printer-estree.js(4422,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'. -src/language-js/printer-estree.js(4434,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'. -src/language-js/printer-estree.js(4712,9): error TS2554: Expected 0-2 arguments, but got 3. -src/language-js/printer-estree.js(5728,7): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error. - Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'. - The types returned by 'slice(...)' are incompatible between these types. - Type '(string | number)[]' is not assignable to type '((childPath: any) => any)[]'. - Type 'string | number' is not assignable to type '(childPath: any) => any'. - Type 'string' is not assignable to type '(childPath: any) => any'. - Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error. - Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'. - Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'. -src/language-js/utils.js(118,55): error TS2554: Expected 0-1 arguments, but got 2. -src/language-js/utils.js(417,14): error TS2339: Property 'comments' does not exist on type 'Expression'. - Property 'comments' does not exist on type 'Identifier'. -src/language-js/utils.js(429,7): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap. -src/language-js/utils.js(434,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap. -src/language-js/utils.js(437,16): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'. - Property 'property' does not exist on type 'SimpleLiteral'. -src/language-js/utils.js(438,16): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'. - Property 'property' does not exist on type 'SimpleLiteral'. -src/language-js/utils.js(439,16): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'. - Property 'property' does not exist on type 'SimpleLiteral'. -src/language-js/utils.js(440,16): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'. - Property 'property' does not exist on type 'SimpleLiteral'. -src/language-js/utils.js(444,21): error TS2339: Property 'object' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'. - Property 'object' does not exist on type 'SimpleLiteral'. -src/language-js/utils.js(445,18): error TS2339: Property 'comments' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'. - Property 'comments' does not exist on type 'SimpleLiteral'. -src/language-js/utils.js(450,11): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"Identifier"' have no overlap. -src/language-js/utils.js(450,41): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"ThisExpression"' have no overlap. -src/language-markdown/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/Markdown'. -src/language-markdown/index.js(17,26): error TS2307: Cannot find module 'linguist-languages/data/Markdown'. -src/language-markdown/printer-markdown.js(278,18): error TS2532: Object is possibly 'undefined'. -src/language-markdown/printer-markdown.js(279,17): error TS2532: Object is possibly 'undefined'. -src/language-markdown/printer-markdown.js(300,14): error TS2532: Object is possibly 'undefined'. -src/language-markdown/utils.js(203,5): error TS2322: Type 'never[]' is not assignable to type 'null'. -src/language-markdown/utils.js(213,47): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'null'. -src/language-yaml/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/YAML'. -src/language-yaml/printer-yaml.js(226,41): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '"" | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray'. - Type '""' is not assignable to type 'ConcatArray'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type '"" | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray'. - Type '""' is not assignable to type 'ConcatArray'. -src/main/core-options.js(117,9): error TS2322: Type '[{ since: string; value: string; }, { since: string; value: undefined; }]' is not assignable to type 'string | number | boolean | { since: string; value: string | number | boolean; }[] | [{ value: (string | number | boolean)[]; }]'. - Type '[{ since: string; value: string; }, { since: string; value: undefined; }]' is not assignable to type '[{ value: (string | number | boolean)[]; }]'. - Types of property '0' are incompatible. - Type '{ since: string; value: string; }' is not assignable to type '{ value: (string | number | boolean)[]; }'. - Object literal may only specify known properties, and 'since' does not exist in type '{ value: (string | number | boolean)[]; }'. -src/main/core-options.js(158,9): error TS2322: Type 'null' is not assignable to type 'string'. -src/main/core-options.js(250,9): error TS2322: Type '[{ since: string; value: false; }, { since: string; value: undefined; }]' is not assignable to type 'string | number | boolean | { since: string; value: string | number | boolean; }[] | [{ value: (string | number | boolean)[]; }]'. - Type '[{ since: string; value: false; }, { since: string; value: undefined; }]' is not assignable to type '[{ value: (string | number | boolean)[]; }]'. - Types of property '0' are incompatible. - Type '{ since: string; value: false; }' is not assignable to type '{ value: (string | number | boolean)[]; }'. - Object literal may only specify known properties, and 'since' does not exist in type '{ value: (string | number | boolean)[]; }'. -src/main/core.js(303,34): error TS2538: Type 'false' cannot be used as an index type. -src/main/core.js(303,47): error TS2538: Type 'false' cannot be used as an index type. -src/main/core.js(308,28): error TS2538: Type 'false' cannot be used as an index type. -src/main/core.js(308,72): error TS2538: Type 'false' cannot be used as an index type. -src/main/core.js(316,14): error TS2538: Type 'false' cannot be used as an index type. -src/main/options-normalizer.js(35,35): error TS2339: Property 'yellow' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'. -src/main/options-normalizer.js(36,35): error TS2339: Property 'blue' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'. -src/main/options-normalizer.js(54,5): error TS2525: Initializer provides no value for this binding element and the binding element has no default value. -src/main/options-normalizer.js(74,16): error TS2341: Property '_hasDeprecationWarned' is private and only accessible within class 'Normalizer'. -src/main/options-normalizer.js(80,39): error TS2341: Property '_hasDeprecationWarned' is private and only accessible within class 'Normalizer'. -src/main/options-normalizer.js(99,11): error TS2345: Argument of type '{ name: any; sourceName: any; }' is not assignable to parameter of type 'SchemaHandlers'. - Object literal may only specify known properties, and 'name' does not exist in type 'SchemaHandlers'. -src/main/options-normalizer.js(143,13): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type 'string | never[]' is not assignable to parameter of type 'ConcatArray'. - Type 'string' is not assignable to type 'ConcatArray'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Argument of type 'string | never[]' is not assignable to parameter of type 'ConcatArray'. - Type 'string' is not assignable to type 'ConcatArray'. -src/main/options-normalizer.js(198,51): error TS2559: Type '{ name: any; }' has no properties in common with type 'SchemaHandlers'. -src/main/parser.js(21,44): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. - Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType'. - Type 'undefined' is not assignable to type 'PropertyDescriptor'. -src/main/support.js(5,32): error TS2732: Cannot find module '../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension -src/main/support.js(38,24): error TS2339: Property 'name' does not exist on type 'never'. -src/main/support.js(38,35): error TS2339: Property 'name' does not exist on type 'never'. -src/main/support.js(38,48): error TS2339: Property 'name' does not exist on type 'never'. -src/main/support.js(38,57): error TS2339: Property 'name' does not exist on type 'never'. -src/standalone.js(3,25): error TS2732: Cannot find module '../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension - - - -Standard error: diff --git a/tests/baselines/reference/user/uglify-js.log b/tests/baselines/reference/user/uglify-js.log index 3fff1008d8b5e..6ec59f31dd14e 100644 --- a/tests/baselines/reference/user/uglify-js.log +++ b/tests/baselines/reference/user/uglify-js.log @@ -9,66 +9,69 @@ node_modules/uglify-js/lib/ast.js(968,25): error TS2339: Property 'self' does no node_modules/uglify-js/lib/ast.js(969,37): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/ast.js(985,31): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/ast.js(989,29): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(184,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(535,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(861,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1122,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1138,51): error TS2349: This expression is not callable. +node_modules/uglify-js/lib/compress.js(185,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(536,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(862,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1124,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1140,51): error TS2349: This expression is not callable. Not all constituents of type 'true | ((node: any) => any)' are callable. Type 'true' has no call signatures. -node_modules/uglify-js/lib/compress.js(1202,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1244,112): error TS2454: Variable 'args' is used before being assigned. -node_modules/uglify-js/lib/compress.js(1245,29): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(1254,87): error TS2322: Type 'false' is not assignable to type 'number'. -node_modules/uglify-js/lib/compress.js(1262,29): error TS2322: Type 'false' is not assignable to type 'never'. -node_modules/uglify-js/lib/compress.js(1371,53): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1472,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1552,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1585,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1706,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'. +node_modules/uglify-js/lib/compress.js(1204,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1246,112): error TS2454: Variable 'args' is used before being assigned. +node_modules/uglify-js/lib/compress.js(1247,29): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(1256,87): error TS2322: Type 'false' is not assignable to type 'number'. +node_modules/uglify-js/lib/compress.js(1264,29): error TS2322: Type 'false' is not assignable to type 'never'. +node_modules/uglify-js/lib/compress.js(1375,53): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1476,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1498,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1580,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1613,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1735,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'. Type 'number[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1 -node_modules/uglify-js/lib/compress.js(2029,59): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2067,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'. +node_modules/uglify-js/lib/compress.js(2065,59): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2103,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'. Type 'any[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1 -node_modules/uglify-js/lib/compress.js(2215,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2913,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/uglify-js/lib/compress.js(2914,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(2914,55): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. -node_modules/uglify-js/lib/compress.js(2914,56): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(2955,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3409,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3433,33): error TS2322: Type '"f"' is not assignable to type 'boolean'. -node_modules/uglify-js/lib/compress.js(3567,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3620,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3638,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(3663,75): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3738,63): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3863,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(3942,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3963,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(3973,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4207,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead. -node_modules/uglify-js/lib/compress.js(4270,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4381,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4679,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(4763,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4971,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[string | RegExp, (string | undefined)?]'. +node_modules/uglify-js/lib/compress.js(2251,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2950,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. +node_modules/uglify-js/lib/compress.js(2951,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(2951,55): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +node_modules/uglify-js/lib/compress.js(2951,56): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(2992,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3072,33): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(3478,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3504,29): error TS2322: Type '"f"' is not assignable to type 'boolean'. +node_modules/uglify-js/lib/compress.js(3637,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3690,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3708,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(3733,75): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3808,63): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3933,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4012,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4033,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4043,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4277,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead. +node_modules/uglify-js/lib/compress.js(4340,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4451,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4648,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4794,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(4879,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5087,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[string | RegExp, (string | undefined)?]'. Property '0' is missing in type 'any[]' but required in type '[string | RegExp, (string | undefined)?]'. -node_modules/uglify-js/lib/compress.js(5135,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5142,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: () => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'. -node_modules/uglify-js/lib/compress.js(5146,36): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(5151,41): error TS2339: Property 'get' does not exist on type 'string'. -node_modules/uglify-js/lib/compress.js(5668,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. -node_modules/uglify-js/lib/compress.js(6203,25): error TS2367: This condition will always return 'false' since the types 'boolean' and 'string' have no overlap. -node_modules/uglify-js/lib/compress.js(6231,47): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6306,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6378,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6384,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6829,43): error TS2454: Variable 'property' is used before being assigned. -node_modules/uglify-js/lib/compress.js(6844,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(6847,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. -node_modules/uglify-js/lib/compress.js(6853,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(6891,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5251,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5258,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: () => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'. +node_modules/uglify-js/lib/compress.js(5262,36): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(5267,41): error TS2339: Property 'get' does not exist on type 'string'. +node_modules/uglify-js/lib/compress.js(5784,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. +node_modules/uglify-js/lib/compress.js(6334,25): error TS2367: This condition will always return 'false' since the types 'boolean' and 'string' have no overlap. +node_modules/uglify-js/lib/compress.js(6362,47): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6437,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6509,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6515,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6975,43): error TS2454: Variable 'property' is used before being assigned. +node_modules/uglify-js/lib/compress.js(6990,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(6993,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. +node_modules/uglify-js/lib/compress.js(6999,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(7037,34): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/minify.js(186,75): error TS2339: Property 'compress' does not exist on type 'Compressor'. node_modules/uglify-js/lib/mozilla-ast.js(566,33): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/output.js(232,25): error TS2554: Expected 0 arguments, but got 2. @@ -96,12 +99,12 @@ node_modules/uglify-js/lib/parse.js(950,23): error TS2345: Argument of type 'any node_modules/uglify-js/lib/parse.js(1064,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. Type 'any' is not assignable to type 'never'. node_modules/uglify-js/lib/parse.js(1121,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1289,32): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1389,20): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1395,20): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1481,48): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1507,35): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1552,52): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1291,32): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1391,20): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1397,20): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1483,48): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1509,35): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1554,52): error TS2531: Object is possibly 'null'. node_modules/uglify-js/lib/propmangle.js(69,18): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstructor | ... 4 more ... | ArrayConstructor'. Property 'prototype' does not exist on type 'Math'. node_modules/uglify-js/lib/propmangle.js(70,45): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstructor | ... 4 more ... | ArrayConstructor'. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log deleted file mode 100644 index 0974f93790f45..0000000000000 --- a/tests/baselines/reference/user/webpack.log +++ /dev/null @@ -1,22 +0,0 @@ -Exit Code: 1 -Standard output: -lib/logging/Logger.js(49,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(53,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(57,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(61,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(65,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(70,21): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(75,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(79,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(83,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(87,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(91,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(95,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(99,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(103,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(117,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. -lib/logging/Logger.js(127,20): error TS2345: Argument of type 'string' is not assignable to parameter of type '"error" | "time" | "group" | "debug" | "info" | "warn" | "log" | "trace" | "groupCollapsed" | "groupEnd" | "profile" | "profileEnd" | "clear" | "status"'. - - - -Standard error: