microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
100.07k stars 12.37k forks source link

[NewErrors] 5.4.0-dev.20240218 vs 5.3.3 #57432

Closed typescript-bot closed 6 months ago

typescript-bot commented 6 months ago

The following errors were reported by 5.4.0-dev.20240218, but not by 5.3.3 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 118 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 9 | | Detected no interesting changes | 109 | | Git clone failed | 3 | | Package install failed | 34 | | Project-graph error in old TS | 4 | | Too many errors in old TS | 35 | | Unknown failure | 6 |

Investigation Status

Repo Errors Outcome
BuilderIO/qwik 1
drizzle-team/drizzle-orm 19
heyxyz/hey 3
lyswhut/lx-music-desktop 1
pixijs/pixijs 2
quilljs/quill 2
react-hook-form/react-hook-form 1
refined-github/refined-github 5
vuejs/core 2
typescript-bot commented 6 months ago

BuilderIO/qwik

**10 of 11 projects failed to build with the old tsc and were ignored** ### [tsconfig.json](https://github.com/BuilderIO/qwik/blob/be5716a78ca0ca898bf4cc719621e7ebb69c7da6/tsconfig.json) - `error TS2604: JSX element type 'Cmp' does not have any construct or call signatures.` - [packages\/qwik\/src\/core\/render\/jsx\/types\/jsx-types.unit.tsx\#L201](https://github.com/BuilderIO/qwik/blob/be5716a78ca0ca898bf4cc719621e7ebb69c7da6/packages/qwik/src/core/render/jsx/types/jsx-types.unit.tsx#L201)
typescript-bot commented 6 months ago

drizzle-team/drizzle-orm

**18 of 25 projects failed to build with the old tsc and were ignored** ### [drizzle-orm\/tests\/tsconfig.json](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/tests/tsconfig.json) - `error TS2345: Argument of type 'SQLiteD1Session>' is not assignable to parameter of type 'SQLiteSession<"async", unknown, Record, TablesRelationalConfig>'.` - [drizzle-orm\/src\/d1\/migrator.ts\#L10](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/d1/migrator.ts#L10) - `error TS2345: Argument of type 'LibSQLSession>' is not assignable to parameter of type 'SQLiteSession<"async", unknown, Record, TablesRelationalConfig>'.` - [drizzle-orm\/src\/libsql\/migrator.ts\#L10](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/libsql/migrator.ts#L10) - `error TS2536: Type 'keyof TSchema' cannot be used to index type 'TFullSchema extends Record ? DrizzleTypeError<"Seems like the schema generic is missing - did you forget to add it to your DB type?"> : { [K in keyof TSchema]: RelationalQueryBuilder; }'.` - [drizzle-orm\/src\/sqlite-core\/db.ts\#L62](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/sqlite-core/db.ts#L62) - `error TS2536: Type 'keyof TSchema' cannot be used to index type 'this["query"]'.` - [drizzle-orm\/src\/sqlite-core\/db.ts\#L71](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/sqlite-core/db.ts#L71) ### [drizzle-orm\/tsconfig.dts.json](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/tsconfig.dts.json) - `error TS2345: Argument of type 'SQLiteD1Session>' is not assignable to parameter of type 'SQLiteSession<"async", unknown, Record, TablesRelationalConfig>'.` - [drizzle-orm\/src\/d1\/migrator.ts\#L10](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/d1/migrator.ts#L10) - `error TS2345: Argument of type 'LibSQLSession>' is not assignable to parameter of type 'SQLiteSession<"async", unknown, Record, TablesRelationalConfig>'.` - [drizzle-orm\/src\/libsql\/migrator.ts\#L10](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/libsql/migrator.ts#L10) - `error TS2536: Type 'keyof TSchema' cannot be used to index type 'TFullSchema extends Record ? DrizzleTypeError<"Seems like the schema generic is missing - did you forget to add it to your DB type?"> : { [K in keyof TSchema]: RelationalQueryBuilder; }'.` - [drizzle-orm\/src\/sqlite-core\/db.ts\#L62](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/sqlite-core/db.ts#L62) - `error TS2536: Type 'keyof TSchema' cannot be used to index type 'this["query"]'.` - [drizzle-orm\/src\/sqlite-core\/db.ts\#L71](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/sqlite-core/db.ts#L71) ### [drizzle-orm\/tsconfig.json](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/tsconfig.json) - `error TS2345: Argument of type 'SQLiteD1Session>' is not assignable to parameter of type 'SQLiteSession<"async", unknown, Record, TablesRelationalConfig>'.` - [drizzle-orm\/src\/d1\/migrator.ts\#L10](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/d1/migrator.ts#L10) - `error TS2345: Argument of type 'LibSQLSession>' is not assignable to parameter of type 'SQLiteSession<"async", unknown, Record, TablesRelationalConfig>'.` - [drizzle-orm\/src\/libsql\/migrator.ts\#L10](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/libsql/migrator.ts#L10) - `error TS2536: Type 'keyof TSchema' cannot be used to index type 'TFullSchema extends Record ? DrizzleTypeError<"Seems like the schema generic is missing - did you forget to add it to your DB type?"> : { [K in keyof TSchema]: RelationalQueryBuilder; }'.` - [drizzle-orm\/src\/sqlite-core\/db.ts\#L62](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/sqlite-core/db.ts#L62) - `error TS2536: Type 'keyof TSchema' cannot be used to index type 'this["query"]'.` - [drizzle-orm\/src\/sqlite-core\/db.ts\#L71](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/sqlite-core/db.ts#L71) ### [drizzle-orm\/type-tests\/tsconfig.json](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/type-tests/tsconfig.json) - `error TS2345: Argument of type 'SQLiteD1Session>' is not assignable to parameter of type 'SQLiteSession<"async", unknown, Record, TablesRelationalConfig>'.` - [drizzle-orm\/src\/d1\/migrator.ts\#L10](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/d1/migrator.ts#L10) - `error TS2345: Argument of type 'LibSQLSession>' is not assignable to parameter of type 'SQLiteSession<"async", unknown, Record, TablesRelationalConfig>'.` - [drizzle-orm\/src\/libsql\/migrator.ts\#L10](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/libsql/migrator.ts#L10) - `error TS2536: Type 'keyof TSchema' cannot be used to index type 'TFullSchema extends Record ? DrizzleTypeError<"Seems like the schema generic is missing - did you forget to add it to your DB type?"> : { [K in keyof TSchema]: RelationalQueryBuilder; }'.` - [drizzle-orm\/src\/sqlite-core\/db.ts\#L62](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/sqlite-core/db.ts#L62) - `error TS2536: Type 'keyof TSchema' cannot be used to index type 'this["query"]'.` - [drizzle-orm\/src\/sqlite-core\/db.ts\#L71](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/src/sqlite-core/db.ts#L71) - `error TS2345: Argument of type 'Omit; cityId: MySqlColumn<{ name: "id"; tableName: "new_yorkers"; dataType: "number"; columnType: "MySqlSerial"; data: number; driverParam: number; notNull: false; hasDefault: true; enumValues: undefined; baseColumn: never; }, object>; }, "partial", MySql2PreparedQueryHKT, never, false, never, never[], { userId: never; cityId: never; }>, never>' is not assignable to parameter of type 'never'.` - [drizzle-orm\/type-tests\/mysql\/set-operators.ts\#L159](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/type-tests/mysql/set-operators.ts#L159) - `error TS2345: Argument of type 'Omit; cityId: PgColumn<{ name: "id"; tableName: "new_yorkers"; dataType: "number"; columnType: "PgSerial"; data: number; driverParam: number; notNull: false; hasDefault: true; enumValues: undefined; baseColumn: never; }, {}, {}>; }, "partial", never, false, never, never[], { userId: never; cityId: never; }>, never>' is not assignable to parameter of type 'never'.` - [drizzle-orm\/type-tests\/pg\/set-operators.ts\#L151](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/type-tests/pg/set-operators.ts#L151) - `error TS2345: Argument of type 'Omit; cityId: SQLiteColumn<{ name: "id"; tableName: "new_yorkers"; dataType: "number"; columnType: "SQLiteInteger"; data: number; driverParam: number; notNull: false; hasDefault: true; enumValues: undefined; baseColumn: never; }, object>; }, "partial", never, false, never, never[], { userId: never; cityId: never; }>, never>' is not assignable to parameter of type 'never'.` - [drizzle-orm\/type-tests\/sqlite\/set-operators.ts\#L151](https://github.com/drizzle-team/drizzle-orm/blob/0da1cba84da08bc0407821c9ab55b3e780ff5e3f/drizzle-orm/type-tests/sqlite/set-operators.ts#L151)
typescript-bot commented 6 months ago

heyxyz/hey

**2 of 13 projects failed to build with the old tsc and were ignored** ### [apps\/web\/tsconfig.json](https://github.com/heyxyz/hey/blob/7df7f18a1cfbc5633c610d8900d61282dcbdf09b/apps/web/tsconfig.json) - `error TS2865: Import 'PublicationStats' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled.` - [apps\/web\/src\/components\/Publication\/PublicationStats.tsx\#L13](https://github.com/heyxyz/hey/blob/7df7f18a1cfbc5633c610d8900d61282dcbdf09b/apps/web/src/components/Publication/PublicationStats.tsx#L13) - `error TS2865: Import 'Nft' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled.` - [apps\/web\/src\/components\/Shared\/Oembed\/Nft\/index.tsx\#L7](https://github.com/heyxyz/hey/blob/7df7f18a1cfbc5633c610d8900d61282dcbdf09b/apps/web/src/components/Shared/Oembed/Nft/index.tsx#L7) - `error TS2865: Import 'Portal' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled.` - [apps\/web\/src\/components\/Shared\/Oembed\/Portal\/index.tsx\#L5](https://github.com/heyxyz/hey/blob/7df7f18a1cfbc5633c610d8900d61282dcbdf09b/apps/web/src/components/Shared/Oembed/Portal/index.tsx#L5)
typescript-bot commented 6 months ago

lyswhut/lx-music-desktop

**1 of 6 projects failed to build with the old tsc and were ignored** ### [src\/renderer\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/959e11b77cf6df40e2682ce486b7c275568f435b/src/renderer/tsconfig.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [src\/renderer\/plugins\/player\/index.ts\#L376](https://github.com/lyswhut/lx-music-desktop/blob/959e11b77cf6df40e2682ce486b7c275568f435b/src/renderer/plugins/player/index.ts#L376)
typescript-bot commented 6 months ago

pixijs/pixijs

### [tsconfig.json](https://github.com/pixijs/pixijs/blob/b631cc57fa3b039211b0401e0317b5bdddb51167/tsconfig.json) - `error TS2430: Interface 'ICanvasRenderingContext2D' incorrectly extends interface 'CanvasTextDrawingStyles'.` - [packages\/settings\/src\/ICanvasRenderingContext2D.ts\#L7](https://github.com/pixijs/pixijs/blob/b631cc57fa3b039211b0401e0317b5bdddb51167/packages/settings/src/ICanvasRenderingContext2D.ts#L7) ### [tsconfig.types.json](https://github.com/pixijs/pixijs/blob/b631cc57fa3b039211b0401e0317b5bdddb51167/tsconfig.types.json) - `error TS2430: Interface 'ICanvasRenderingContext2D' incorrectly extends interface 'CanvasTextDrawingStyles'.` - [packages\/settings\/src\/ICanvasRenderingContext2D.ts\#L7](https://github.com/pixijs/pixijs/blob/b631cc57fa3b039211b0401e0317b5bdddb51167/packages/settings/src/ICanvasRenderingContext2D.ts#L7)
typescript-bot commented 6 months ago

quilljs/quill

### [packages\/quill\/tsconfig.json](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/tsconfig.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/quill\/src\/core\/quill.ts\#L272](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/core/quill.ts#L272) - [packages\/quill\/src\/core\/quill.ts\#L408](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/core/quill.ts#L408) - [packages\/quill\/src\/modules\/toolbar.ts\#L114](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/modules/toolbar.ts#L114) - [packages\/quill\/src\/modules\/toolbar.ts\#L116](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/modules/toolbar.ts#L116) - [packages\/quill\/src\/modules\/toolbar.ts\#L130](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/modules/toolbar.ts#L130) - [packages\/quill\/src\/modules\/toolbar.ts\#L135](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/modules/toolbar.ts#L135) ### [tsconfig.json](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/tsconfig.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/quill\/src\/core\/quill.ts\#L272](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/core/quill.ts#L272) - [packages\/quill\/src\/core\/quill.ts\#L408](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/core/quill.ts#L408) - [packages\/quill\/src\/modules\/toolbar.ts\#L114](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/modules/toolbar.ts#L114) - [packages\/quill\/src\/modules\/toolbar.ts\#L116](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/modules/toolbar.ts#L116) - [packages\/quill\/src\/modules\/toolbar.ts\#L130](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/modules/toolbar.ts#L130) - [packages\/quill\/src\/modules\/toolbar.ts\#L135](https://github.com/quilljs/quill/blob/f46434015e571ea8e2caa99478ab637c21225c82/packages/quill/src/modules/toolbar.ts#L135)
typescript-bot commented 6 months ago

react-hook-form/react-hook-form

**2 of 3 projects failed to build with the old tsc and were ignored** ### [tsconfig.json](https://github.com/react-hook-form/react-hook-form/blob/b6bbd8a178f355632c05f7094c586773a262f78b/tsconfig.json) - `error TS7006: Parameter 'values' implicitly has an 'any' type.` - [src\/logic\/createFormControl.ts\#L1328](https://github.com/react-hook-form/react-hook-form/blob/b6bbd8a178f355632c05f7094c586773a262f78b/src/logic/createFormControl.ts#L1328)
typescript-bot commented 6 months ago

refined-github/refined-github

### [tsconfig.json](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/tsconfig.json) - `error TS2344: Type 'ParseSelector' does not satisfy the constraint 'HTMLElement'.` - [source\/helpers\/fetch-dom.ts\#L8](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/source/helpers/fetch-dom.ts#L8) - [source\/helpers\/select-has.ts\#L9](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/source/helpers/select-has.ts#L9) - `error TS2344: Type 'ExpectedElement' does not satisfy the constraint 'Element'.` - [source\/helpers\/selector-observer.tsx\#L18](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/source/helpers/selector-observer.tsx#L18) - [source\/helpers\/selector-observer.tsx\#L42](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/source/helpers/selector-observer.tsx#L42) - `error TS2339: Property 'classList' does not exist on type 'ExpectedElement'.` - [source\/helpers\/selector-observer.tsx\#L23](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/source/helpers/selector-observer.tsx#L23) - [source\/helpers\/selector-observer.tsx\#L28](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/source/helpers/selector-observer.tsx#L28) - `error TS2339: Property 'matches' does not exist on type 'ExpectedElement'.` - [source\/helpers\/selector-observer.tsx\#L23](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/source/helpers/selector-observer.tsx#L23) - `error TS2345: Argument of type 'ObserverListener' is not assignable to parameter of type 'ObserverListener'.` - [source\/helpers\/selector-observer.tsx\#L69](https://github.com/refined-github/refined-github/blob/35d6d22d1affebf4d35596b61f5505ebc0085196/source/helpers/selector-observer.tsx#L69)
typescript-bot commented 6 months ago

vuejs/core

**1 of 3 projects failed to build with the old tsc and were ignored** ### [tsconfig.build.json](https://github.com/vuejs/core/blob/272ab9fbdcb1af0535108b9f888e80d612f9171d/tsconfig.build.json) - `error TS2322: Type 'T | DeepReadonly>>' is not assignable to type 'T'.` - [packages\/reactivity\/src\/reactive.ts\#L412](https://github.com/vuejs/core/blob/272ab9fbdcb1af0535108b9f888e80d612f9171d/packages/reactivity/src/reactive.ts#L412) ### [tsconfig.json](https://github.com/vuejs/core/blob/272ab9fbdcb1af0535108b9f888e80d612f9171d/tsconfig.json) - `error TS2322: Type 'T | DeepReadonly>>' is not assignable to type 'T'.` - [packages\/reactivity\/src\/reactive.ts\#L412](https://github.com/vuejs/core/blob/272ab9fbdcb1af0535108b9f888e80d612f9171d/packages/reactivity/src/reactive.ts#L412)