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

[NewErrors] 5.0.0-dev.20221103 vs 4.8.4 #51420

Closed
typescript-bot opened this issue Nov 6, 2022 · 18 comments
Closed

[NewErrors] 5.0.0-dev.20221103 vs 4.8.4 #51420

typescript-bot opened this issue Nov 6, 2022 · 18 comments

Comments

@typescript-bot
Copy link
Collaborator

The following errors were reported by 5.0.0-dev.20221103, but not by 4.8.4
Pipeline that generated this bug
Logs for the pipeline run
File that generated the pipeline

This run considered 200 popular TS repos from GH (after skipping the top 0).

Successfully analyzed 126 of 200 visited repos
Outcome Count
Detected interesting changes 16
Detected no interesting changes 110
Git clone failed 2
Package install failed 21
Project-graph error in old TS 2
Too many errors in old TS 44
Unknown failure 5

Investigation Status

Repo Errors Outcome
ant-design/ant-design 1
codex-team/editor.js 1
darkreader/darkreader 8
directus/directus 2
Eugeny/tabby 10
excalidraw/excalidraw 4
graphql/graphql-js 1
JedWatson/react-select 1
jupyterlab/jupyterlab 2
lensapp/lens 10
puppeteer/puppeteer 3
reduxjs/redux-devtools 1
Tencent/vConsole 6
umijs/umi 1
vercel/swr 3
vuejs/core 4
@typescript-bot
Copy link
Collaborator Author

ant-design/ant-design

tsconfig.json

  • error TS2352: Conversion of type '{ pagination: true; }' to type 'TableProps<any>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

@typescript-bot
Copy link
Collaborator Author

codex-team/editor.js

2 of 3 projects failed to build with the old tsc and were ignored

tsconfig.build.json

@typescript-bot
Copy link
Collaborator Author

darkreader/darkreader

2 of 6 projects failed to build with the old tsc and were ignored

src/api/tsconfig.json

  • error TS2339: Property 'getRandomValues' does not exist on type 'never'.
  • error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'number'.

src/tsconfig.json

  • error TS2339: Property 'getRandomValues' does not exist on type 'never'.
  • error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'number'.

tests/inject/tsconfig.json

  • error TS2339: Property 'getRandomValues' does not exist on type 'never'.
  • error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'number'.

tests/unit/tsconfig.json

  • error TS2339: Property 'getRandomValues' does not exist on type 'never'.
  • error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'number'.

@typescript-bot
Copy link
Collaborator Author

directus/directus

4 of 15 projects failed to build with the old tsc and were ignored

packages/shared/tsconfig.json

tests-blackbox/tsconfig.json

@typescript-bot
Copy link
Collaborator Author

Eugeny/tabby

9 of 29 projects failed to build with the old tsc and were ignored

tabby-community-color-schemes/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-electron/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-linkifier/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-local/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-serial/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-ssh/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-telnet/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-terminal/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-terminal/tsconfig.typings.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

tabby-web-demo/tsconfig.json

  • error TS2352: Conversion of type 'MouseEvent & Record<"wheelDeltaY", unknown>' to type 'WheelEvent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.

@typescript-bot
Copy link
Collaborator Author

excalidraw/excalidraw

2 of 5 projects failed to build with the old tsc and were ignored

tsconfig-types.json

tsconfig.json

@typescript-bot
Copy link
Collaborator Author

graphql/graphql-js

1 of 2 projects failed to build with the old tsc and were ignored

tsconfig.json

@typescript-bot
Copy link
Collaborator Author

JedWatson/react-select

3 of 5 projects failed to build with the old tsc and were ignored

packages/react-select/src/__tests__/tsconfig.json

@typescript-bot
Copy link
Collaborator Author

jupyterlab/jupyterlab

48 of 56 projects failed to build with the old tsc and were ignored

packages/services/examples/browser/tsconfig.json

  • error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.

packages/services/examples/typescript-browser-with-output/tsconfig.json

  • error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.

@typescript-bot
Copy link
Collaborator Author

lensapp/lens

6 of 8 projects failed to build with the old tsc and were ignored

tsconfig.json

webpack/tsconfig.json

@typescript-bot
Copy link
Collaborator Author

puppeteer/puppeteer

4 of 7 projects failed to build with the old tsc and were ignored

packages/testserver/tsconfig.json

  • error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; timeout(milliseconds: number): AbortSignal; }'.

test/installation/tsconfig.json

  • error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; timeout(milliseconds: number): AbortSignal; }'.

tools/tsconfig.json

  • error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; timeout(milliseconds: number): AbortSignal; }'.
    • file:///mnt/ts_downloads/puppeteer/node_modules/@types/node/globals.d.ts#L72 in tools/tsconfig.json

@typescript-bot
Copy link
Collaborator Author

reduxjs/redux-devtools

10 of 57 projects failed to build with the old tsc and were ignored

packages/redux-devtools-utils/tsconfig.json

  • error TS2367: This comparison appears to be unintentional because the types '{ immutable?: typeof Immutable | undefined; refs?: (new (data: any) => unknown)[] | null | undefined; replacer?: ((key: string, value: unknown) => unknown) | undefined; options?: unknown; }' and 'boolean' have no overlap.

@typescript-bot
Copy link
Collaborator Author

Tencent/vConsole

tsconfig.json

  • error TS2741: Property '0' is missing in type 'string[]' but required in type 'RegExpMatchArray'.
  • error TS2339: Property 'apply' does not exist on type 'string extends keyof T ? T[keyof T & string] : any'.
  • error TS2322: Type '() => ReadableStreamReader<Uint8Array>' is not assignable to type '{ (options: { mode: "byob"; }): ReadableStreamBYOBReader; (): ReadableStreamDefaultReader<Uint8Array>; (options?: ReadableStreamGetReaderOptions): ReadableStreamReader<...>; }'.

tsconfig.type.json

  • error TS2741: Property '0' is missing in type 'string[]' but required in type 'RegExpMatchArray'.
  • error TS2339: Property 'apply' does not exist on type 'string extends keyof T ? T[keyof T & string] : any'.
  • error TS2322: Type '() => ReadableStreamReader<Uint8Array>' is not assignable to type '{ (options: { mode: "byob"; }): ReadableStreamBYOBReader; (): ReadableStreamDefaultReader<Uint8Array>; (options?: ReadableStreamGetReaderOptions): ReadableStreamReader<...>; }'.

@typescript-bot
Copy link
Collaborator Author

umijs/umi

20 of 49 projects failed to build with the old tsc and were ignored

packages/bundler-esbuild/tsconfig.json

@typescript-bot
Copy link
Collaborator Author

vercel/swr

3 of 10 projects failed to build with the old tsc and were ignored

test/tsconfig.json

test/type/tsconfig.json

@typescript-bot
Copy link
Collaborator Author

vuejs/core

1 of 3 projects failed to build with the old tsc and were ignored

test-dts/tsconfig.json

tsconfig.json

AnandChowdhary added a commit to stethoscope-js/integrations that referenced this issue Nov 15, 2022
@RyanCavanaugh RyanCavanaugh closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2022
@Stanzilla
Copy link

just ran into this, so this is "not a bug" and won't be fixed?

@UweKeim
Copy link

UweKeim commented Jan 2, 2023

It happened to me in the context of a Gulpfile.js inside Visual Studio 2022.

My "solution"/workaround was to delete both the node_modules folder and the package-lock.json file and then do a NPM update/reinstall of all packages.

After that, my Gulpfile.js ran through without the previous errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants