microsoft / TypeScript

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

[NewErrors] 5.0.0-dev.20230115 vs 4.9.4 #52250

Closed typescript-bot closed 1 year ago

typescript-bot commented 1 year ago

The following errors were reported by 5.0.0-dev.20230115, but not by 4.9.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 125 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 13 | | Detected no interesting changes | 112 | | Git clone failed | 2 | | Package install failed | 19 | | Project-graph error in old TS | 4 | | Too many errors in old TS | 46 | | Unknown failure | 4 |

Investigation Status

Repo Errors Outcome
basarat/typescript-book 1
compiler-explorer/compiler-explorer 2
conventional-changelog/commitlint 1
felixrieseberg/windows95 1
framer/motion 1
graphql/graphiql 1
jitsi/jitsi-meet 2
lensapp/lens 2
linnovate/mean 3
n8n-io/n8n 1
pubkey/rxdb 3
umijs/umi 2
wenyan-lang/wenyan 1
typescript-bot commented 1 year ago

basarat/typescript-book

**8 of 15 projects failed to build with the old tsc and were ignored** ### [code\/compiler\/tsconfig.json](https://github.com/basarat/typescript-book/blob/b623972af7e190b821ebf5789ef510c9a1a2c6db/code/compiler/tsconfig.json) - `error TS5101: Flag 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - [code\/compiler\/tsconfig.json\#L15](https://github.com/basarat/typescript-book/blob/b623972af7e190b821ebf5789ef510c9a1a2c6db/code/compiler/tsconfig.json#L15)
typescript-bot commented 1 year ago

compiler-explorer/compiler-explorer

**1 of 3 projects failed to build with the old tsc and were ignored** ### [static\/tsconfig.json](https://github.com/compiler-explorer/compiler-explorer/blob/acc19d1d1cd482dd29a5bfabe1e4aaef9ecf5a82/static/tsconfig.json) - `error TS2345: Argument of type '(weight: number, field: string) => void' is not assignable to parameter of type '(value: any, key: string | number) => any'.` - file:///mnt/ts_downloads/compiler-explorer/node_modules/@orchidjs/sifter/lib/sifter.ts#L150 - `error TS2769: No overload matches this call.` - file:///mnt/ts_downloads/compiler-explorer/node_modules/@orchidjs/sifter/lib/utils.ts#L44
typescript-bot commented 1 year ago

conventional-changelog/commitlint

### [tsconfig.json](https://github.com/conventional-changelog/commitlint/blob/8b8a6e62f57511c0be05346d14959247851cdfeb/tsconfig.json) - `error TS5101: Flag 'keyofStringsOnly' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - Project Scope
typescript-bot commented 1 year ago

felixrieseberg/windows95

### [tsconfig.json](https://github.com/felixrieseberg/windows95/blob/17a81393467e2668eb2eea291ab4b6a749756dad/tsconfig.json) - `error TS5101: Flag 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - [tsconfig.json\#L16](https://github.com/felixrieseberg/windows95/blob/17a81393467e2668eb2eea291ab4b6a749756dad/tsconfig.json#L16)
typescript-bot commented 1 year ago

framer/motion

**3 of 4 projects failed to build with the old tsc and were ignored** ### [packages\/framer-motion\/tsconfig.json](https://github.com/framer/motion/blob/6658bfeb64ca440865ba662c8410b5fe2a954a02/packages/framer-motion/tsconfig.json) - `error TS5101: Flag 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - [packages\/framer-motion\/tsconfig.json\#L17](https://github.com/framer/motion/blob/6658bfeb64ca440865ba662c8410b5fe2a954a02/packages/framer-motion/tsconfig.json#L17)
typescript-bot commented 1 year ago

graphql/graphiql

**6 of 13 projects failed to build with the old tsc and were ignored** ### [examples\/monaco-graphql-webpack\/tsconfig.json](https://github.com/graphql/graphiql/blob/f263f778cb95b9f413bd09ca56a43f5b9c2f6215/examples/monaco-graphql-webpack/tsconfig.json) - `error TS2322: Type '5' is not assignable to type 'MarkerSeverity'.` - [packages\/monaco-graphql\/src\/utils.ts\#L115](https://github.com/graphql/graphiql/blob/f263f778cb95b9f413bd09ca56a43f5b9c2f6215/packages/monaco-graphql/src/utils.ts#L115) in [packages\/monaco-graphql\/tsconfig.json](https://github.com/graphql/graphiql/blob/f263f778cb95b9f413bd09ca56a43f5b9c2f6215/packages/monaco-graphql/tsconfig.json)
typescript-bot commented 1 year ago

jitsi/jitsi-meet

### [tsconfig.native.json](https://github.com/jitsi/jitsi-meet/blob/43b3db11e001ddc92b9636858e4bcbd35eef6852/tsconfig.native.json) - `error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'string | number | boolean'.` - [react\/features\/base\/util\/uri.ts\#L200](https://github.com/jitsi/jitsi-meet/blob/43b3db11e001ddc92b9636858e4bcbd35eef6852/react/features/base/util/uri.ts#L200) ### [tsconfig.web.json](https://github.com/jitsi/jitsi-meet/blob/43b3db11e001ddc92b9636858e4bcbd35eef6852/tsconfig.web.json) - `error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'string | number | boolean'.` - [react\/features\/base\/util\/uri.ts\#L200](https://github.com/jitsi/jitsi-meet/blob/43b3db11e001ddc92b9636858e4bcbd35eef6852/react/features/base/util/uri.ts#L200)
typescript-bot commented 1 year ago

lensapp/lens

### [tsconfig.json](https://github.com/lensapp/lens/blob/c361852dd2ebe1cf6ab8bb7fcf8f19aba727e1a5/tsconfig.json) - `error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'TData'.` - [src\/test-utils\/override-fs-with-fakes.ts\#L34](https://github.com/lensapp/lens/blob/c361852dd2ebe1cf6ab8bb7fcf8f19aba727e1a5/src/test-utils/override-fs-with-fakes.ts#L34) ### [webpack\/tsconfig.json](https://github.com/lensapp/lens/blob/c361852dd2ebe1cf6ab8bb7fcf8f19aba727e1a5/webpack/tsconfig.json) - `error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'TData'.` - [src\/test-utils\/override-fs-with-fakes.ts\#L34](https://github.com/lensapp/lens/blob/c361852dd2ebe1cf6ab8bb7fcf8f19aba727e1a5/src/test-utils/override-fs-with-fakes.ts#L34)
typescript-bot commented 1 year ago

linnovate/mean

### [tsconfig.app.json](https://github.com/linnovate/mean/blob/cf0c8370b3d34a42a29d8a174426840a1e014433/tsconfig.app.json) - `error TS5101: Flag 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - Project Scope ### [tsconfig.json](https://github.com/linnovate/mean/blob/cf0c8370b3d34a42a29d8a174426840a1e014433/tsconfig.json) - `error TS5101: Flag 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - [tsconfig.json\#L17](https://github.com/linnovate/mean/blob/cf0c8370b3d34a42a29d8a174426840a1e014433/tsconfig.json#L17) ### [tsconfig.spec.json](https://github.com/linnovate/mean/blob/cf0c8370b3d34a42a29d8a174426840a1e014433/tsconfig.spec.json) - `error TS5101: Flag 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - Project Scope
typescript-bot commented 1 year ago

n8n-io/n8n

**8 of 9 projects failed to build with the old tsc and were ignored** ### [packages\/core\/tsconfig.json](https://github.com/n8n-io/n8n/blob/38aa99b1820285dc98dc9234821f85c86acaa7a3/packages/core/tsconfig.json) - `error TS2345: Argument of type 'WeekdayNumbers' is not assignable to parameter of type 'DAYS'.` - [packages\/workflow\/src\/Extensions\/DateExtensions.ts\#L161](https://github.com/n8n-io/n8n/blob/38aa99b1820285dc98dc9234821f85c86acaa7a3/packages/workflow/src/Extensions/DateExtensions.ts#L161) in [packages\/workflow\/tsconfig.build.json](https://github.com/n8n-io/n8n/blob/38aa99b1820285dc98dc9234821f85c86acaa7a3/packages/workflow/tsconfig.build.json)
typescript-bot commented 1 year ago

pubkey/rxdb

**7 of 10 projects failed to build with the old tsc and were ignored** ### [config\/tsconfig.types.json](https://github.com/pubkey/rxdb/blob/107d69671807d5d0999afda71475a74be535f1cd/config/tsconfig.types.json) - `error TS2345: Argument of type 'string' is not assignable to parameter of type 'StringKeys<{ _deleted: boolean; _attachments: { [attachmentId: string]: RxAttachmentData; }; _rev: string; _meta: RxDocumentMeta; }>'.` - [src\/plugins\/replication-couchdb\/couchdb-helper.ts\#L22](https://github.com/pubkey/rxdb/blob/107d69671807d5d0999afda71475a74be535f1cd/src/plugins/replication-couchdb/couchdb-helper.ts#L22) ### [test\/tutorials\/tsconfig.json](https://github.com/pubkey/rxdb/blob/107d69671807d5d0999afda71475a74be535f1cd/test/tutorials/tsconfig.json) - `error TS5101: Flag 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - [test\/tutorials\/tsconfig.json\#L11](https://github.com/pubkey/rxdb/blob/107d69671807d5d0999afda71475a74be535f1cd/test/tutorials/tsconfig.json#L11) ### [tsconfig.json](https://github.com/pubkey/rxdb/blob/107d69671807d5d0999afda71475a74be535f1cd/tsconfig.json) - `error TS2345: Argument of type 'string' is not assignable to parameter of type 'StringKeys<{ _deleted: boolean; _attachments: { [attachmentId: string]: RxAttachmentData; }; _rev: string; _meta: RxDocumentMeta; }>'.` - [src\/plugins\/replication-couchdb\/couchdb-helper.ts\#L22](https://github.com/pubkey/rxdb/blob/107d69671807d5d0999afda71475a74be535f1cd/src/plugins/replication-couchdb/couchdb-helper.ts#L22)
typescript-bot commented 1 year ago

umijs/umi

**23 of 52 projects failed to build with the old tsc and were ignored** ### [packages\/ast\/tsconfig.json](https://github.com/umijs/umi/blob/e9cf757e879c414e4b17f53e42a0bb7759fb2292/packages/ast/tsconfig.json) - `error TS2322: Type 'undefined' is not assignable to type 'string'.` - [packages\/ast\/src\/setConfigByName\/setConfigByName.ts\#L8](https://github.com/umijs/umi/blob/e9cf757e879c414e4b17f53e42a0bb7759fb2292/packages/ast/src/setConfigByName/setConfigByName.ts#L8) ### [tsconfig.json](https://github.com/umijs/umi/blob/e9cf757e879c414e4b17f53e42a0bb7759fb2292/tsconfig.json) - `error TS2322: Type 'undefined' is not assignable to type 'string'.` - [packages\/ast\/src\/setConfigByName\/setConfigByName.ts\#L8](https://github.com/umijs/umi/blob/e9cf757e879c414e4b17f53e42a0bb7759fb2292/packages/ast/src/setConfigByName/setConfigByName.ts#L8)
typescript-bot commented 1 year ago

wenyan-lang/wenyan

### [tsconfig.json](https://github.com/wenyan-lang/wenyan/blob/8283bea2963b124803610a7f0d78da263e098e04/tsconfig.json) - `error TS5101: Flag 'noImplicitUseStrict' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.` - [tsconfig.json\#L12](https://github.com/wenyan-lang/wenyan/blob/8283bea2963b124803610a7f0d78da263e098e04/tsconfig.json#L12)