microsoft / TypeScript

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

[NewErrors] 5.5.0-dev.20240225 vs 5.3.3 #57534

Closed typescript-bot closed 6 months ago

typescript-bot commented 6 months ago

The following errors were reported by 5.5.0-dev.20240225, 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 116 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 12 | | Detected no interesting changes | 104 | | Git clone failed | 3 | | Package install failed | 35 | | Project-graph error in old TS | 5 | | Too many errors in old TS | 35 | | Unknown failure | 6 |

Investigation Status

Repo Errors Outcome
BuilderIO/qwik 1
drizzle-team/drizzle-orm 11
heyxyz/hey 3
lyswhut/lx-music-desktop 1
outline/outline 1
pixijs/pixijs 2
quilljs/quill 2
react-hook-form/react-hook-form 1
reduxjs/reselect 5
refined-github/refined-github 5
t3-oss/create-t3-app 1
vuejs/core 3
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/9db043d9699fdecfc826ef5a328a2bee1873d98a/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/9db043d9699fdecfc826ef5a328a2bee1873d98a/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/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/drizzle-orm/src/libsql/migrator.ts#L10) ### [drizzle-orm\/tsconfig.dts.json](https://github.com/drizzle-team/drizzle-orm/blob/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/drizzle-orm/src/libsql/migrator.ts#L10) ### [drizzle-orm\/tsconfig.json](https://github.com/drizzle-team/drizzle-orm/blob/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/drizzle-orm/src/libsql/migrator.ts#L10) ### [drizzle-orm\/type-tests\/tsconfig.json](https://github.com/drizzle-team/drizzle-orm/blob/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/drizzle-orm/src/libsql/migrator.ts#L10) - `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/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/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/fed7bde872d649056888a53be72726bd5b7cbb55/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/d7acc88019d2ae725afee471ba7b72f9d4854ee4/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/d7acc88019d2ae725afee471ba7b72f9d4854ee4/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/d7acc88019d2ae725afee471ba7b72f9d4854ee4/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\#L6](https://github.com/heyxyz/hey/blob/d7acc88019d2ae725afee471ba7b72f9d4854ee4/apps/web/src/components/Shared/Oembed/Portal/index.tsx#L6)
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

outline/outline

### [tsconfig.json](https://github.com/outline/outline/blob/83c1c513bb6fd5fb1fe1a4b0041db19f99dcb912/tsconfig.json) - `error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration.` - [tsconfig.json\#L26](https://github.com/outline/outline/blob/83c1c513bb6fd5fb1fe1a4b0041db19f99dcb912/tsconfig.json#L26)
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/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/tsconfig.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/quill\/src\/core\/quill.ts\#L272](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/core/quill.ts#L272) - [packages\/quill\/src\/core\/quill.ts\#L408](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/core/quill.ts#L408) - [packages\/quill\/src\/core\/quill.ts\#L595](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/core/quill.ts#L595) - [packages\/quill\/src\/modules\/toolbar.ts\#L114](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/modules/toolbar.ts#L114) - [packages\/quill\/src\/modules\/toolbar.ts\#L116](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/modules/toolbar.ts#L116) - [packages\/quill\/src\/modules\/toolbar.ts\#L130](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/modules/toolbar.ts#L130) - [packages\/quill\/src\/modules\/toolbar.ts\#L135](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/modules/toolbar.ts#L135) ### [tsconfig.json](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/tsconfig.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/quill\/src\/core\/quill.ts\#L272](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/core/quill.ts#L272) - [packages\/quill\/src\/core\/quill.ts\#L408](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/core/quill.ts#L408) - [packages\/quill\/src\/core\/quill.ts\#L595](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/core/quill.ts#L595) - [packages\/quill\/src\/modules\/toolbar.ts\#L114](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/modules/toolbar.ts#L114) - [packages\/quill\/src\/modules\/toolbar.ts\#L116](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/modules/toolbar.ts#L116) - [packages\/quill\/src\/modules\/toolbar.ts\#L130](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/packages/quill/src/modules/toolbar.ts#L130) - [packages\/quill\/src\/modules\/toolbar.ts\#L135](https://github.com/quilljs/quill/blob/77df7e543d57297d57181a655b51370ac8d08d51/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/ec8a46e1e2566aab42f64509efaaec1210202c3c/tsconfig.json) - `error TS7006: Parameter 'values' implicitly has an 'any' type.` - [src\/logic\/createFormControl.ts\#L1349](https://github.com/react-hook-form/react-hook-form/blob/ec8a46e1e2566aab42f64509efaaec1210202c3c/src/logic/createFormControl.ts#L1349)
typescript-bot commented 6 months ago

reduxjs/reselect

### [docs\/examples\/tsconfig.json](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/docs/examples/tsconfig.json) - `error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.` - [src\/createSelectorCreator.ts\#L394](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/src/createSelectorCreator.ts#L394) ### [test\/tsconfig.json](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/test/tsconfig.json) - `error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.` - [src\/createSelectorCreator.ts\#L394](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/src/createSelectorCreator.ts#L394) ### [tsconfig.json](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/tsconfig.json) - `error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.` - [src\/createSelectorCreator.ts\#L394](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/src/createSelectorCreator.ts#L394) ### [type-tests\/tsconfig.json](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/type-tests/tsconfig.json) - `error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.` - [src\/createSelectorCreator.ts\#L394](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/src/createSelectorCreator.ts#L394) ### [typescript\_test\/tsconfig.json](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/typescript_test/tsconfig.json) - `error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.` - [src\/createSelectorCreator.ts\#L394](https://github.com/reduxjs/reselect/blob/3786506acd1301015e68e7857249c3b5d90bc454/src/createSelectorCreator.ts#L394)
typescript-bot commented 6 months ago

refined-github/refined-github

### [tsconfig.json](https://github.com/refined-github/refined-github/blob/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/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/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/source/helpers/fetch-dom.ts#L8) - [source\/helpers\/select-has.ts\#L9](https://github.com/refined-github/refined-github/blob/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/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/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/source/helpers/selector-observer.tsx#L18) - [source\/helpers\/selector-observer.tsx\#L42](https://github.com/refined-github/refined-github/blob/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/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/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/source/helpers/selector-observer.tsx#L23) - [source\/helpers\/selector-observer.tsx\#L28](https://github.com/refined-github/refined-github/blob/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/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/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/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/5e2f132d99a9ea3825cc5f01d19f0c38d3460c12/source/helpers/selector-observer.tsx#L69)
typescript-bot commented 6 months ago

t3-oss/create-t3-app

**1 of 6 projects failed to build with the old tsc and were ignored** ### [www\/tsconfig.json](https://github.com/t3-oss/create-t3-app/blob/640a0e086d1515f4f88315d3295b44296fe7bbd0/www/tsconfig.json) - `error TS5102: Option 'importsNotUsedAsValues' has been removed. Please remove it from your configuration.` - [www\/tsconfig.json\#L8](https://github.com/t3-oss/create-t3-app/blob/640a0e086d1515f4f88315d3295b44296fe7bbd0/www/tsconfig.json#L8)
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/6c74fb07a78ebd9512f35c331baf42ca1a5b147f/tsconfig.build.json) - `error TS2322: Type 'T | DeepReadonly>>' is not assignable to type 'T'.` - [packages\/reactivity\/src\/reactive.ts\#L413](https://github.com/vuejs/core/blob/6c74fb07a78ebd9512f35c331baf42ca1a5b147f/packages/reactivity/src/reactive.ts#L413) ### [tsconfig.json](https://github.com/vuejs/core/blob/6c74fb07a78ebd9512f35c331baf42ca1a5b147f/tsconfig.json) - `error TS2322: Type 'T | DeepReadonly>>' is not assignable to type 'T'.` - [packages\/reactivity\/src\/reactive.ts\#L413](https://github.com/vuejs/core/blob/6c74fb07a78ebd9512f35c331baf42ca1a5b147f/packages/reactivity/src/reactive.ts#L413) - `error TS2769: No overload matches this call.` - [packages\/runtime-core\/\_\_tests\_\_\/apiOptions.spec.ts\#L794](https://github.com/vuejs/core/blob/6c74fb07a78ebd9512f35c331baf42ca1a5b147f/packages/runtime-core/__tests__/apiOptions.spec.ts#L794) - [packages\/runtime-core\/\_\_tests\_\_\/apiOptions.spec.ts\#L794](https://github.com/vuejs/core/blob/6c74fb07a78ebd9512f35c331baf42ca1a5b147f/packages/runtime-core/__tests__/apiOptions.spec.ts#L794) - [packages\/runtime-core\/\_\_tests\_\_\/apiOptions.spec.ts\#L795](https://github.com/vuejs/core/blob/6c74fb07a78ebd9512f35c331baf42ca1a5b147f/packages/runtime-core/__tests__/apiOptions.spec.ts#L795)
RyanCavanaugh commented 6 months ago

FYI @tommoor via https://github.com/outline/outline/pull/5506

RyanCavanaugh commented 6 months ago

create-t3-app is broken because it used an astro preset that enabled ignoreDeprecations (!!!!!!!!!!), which has thankfully been fixed at https://github.com/withastro/astro/pull/7785 . No action needed except to maybe yell at people who put this in a base config.