microsoft / TypeScript

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

[NewErrors] 5.5.0-dev.20240414 vs 5.4.5 #58189

Open typescript-bot opened 7 months ago

typescript-bot commented 7 months ago

The following errors were reported by 5.5.0-dev.20240414, but not by 5.4.5 Pipeline that generated this bug Logs for the pipeline run File that generated the pipeline

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

Successfully analyzed 499 of 800 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 26 | | Detected no interesting changes | 473 | | Git clone failed | 6 | | Package install failed | 85 | | Project-graph error in old TS | 9 | | Too many errors in old TS | 192 | | Unknown failure | 9 |

Investigation Status

Repo Errors Outcome
adobe/react-spectrum 1 #56902
aidenybai/million 1 #56902
alangpierce/sucrase 2 #57847 + 9998 = new error
ardatan/graphql-tools 1 suppressImplicitAnyIndexErrors removed
ariakit/ariakit 4 ts-expect-error on a bug 😎
bitwarden/clients 2 predicate inference broke class subtyping
Chocobozzz/PeerTube 1 #57847, appears to be bug in the project code (?)
conventional-changelog/conventional-changelog 1 #57549, exact details unclear so far
framer/motion 1 #57847 detects an implicit coercion that was previously unnoticed
growthbook/growthbook 1 #57847 caused an any to now be narrowed to Function
heyxyz/hey 5
highcharts/highcharts 6 keyofStringsOnly removed
ionic-team/stencil 1 Predicate inference identifies likely bug
jupyterlab/jupyterlab 2 #57681 (don't emit reference directives)
keplergl/kepler.gl 1 Doesn't build on Windows. Likely #57681
LokerL/tts-vue 1 suppressImplicitAnyIndexErrors removed
microsoft/playwright 1 This monorepo isn't building in 5.4, skipping
microsoft/vscode 1 vscode team will investigate
misskey-dev/misskey 4 predicate inference broke subtyping
outline/outline 1 suppressImplicitAnyIndexErrors removed
sequelize/sequelize 1 Unused ts-expect-error, seems good
strapi/strapi 12 Monorepo failed to build in 5.4, skipping
t3-oss/create-t3-app 1 importsNotUsedAsValues removed
tailwindlabs/headlessui 3
TanStack/router 2 Monorepo doesn't build in 5.4, skipping
tweenjs/tween.js 1 importsNotUsedAsValues removed
typescript-bot commented 7 months ago

adobe/react-spectrum

**5 of 10 projects failed to build with the old tsc and were ignored** ### [packages\/@spectrum-icons\/illustrations\/tsconfig.types.json](https://github.com/adobe/react-spectrum/blob/9cbe7d40fc8c14cb617f4280bbe776fa5939cad3/packages/@spectrum-icons/illustrations/tsconfig.types.json) - `error TS2345: Argument of type '{ style: string; minimumFractionDigits: number; maximumFractionDigits: number; locale: string; numberingSystem: string; currency?: string; currencyDisplay?: keyof Intl.NumberFormatOptionsCurrencyDisplayRegistry; ... 13 more ...; trailingZeroDisplay: "auto" | "stripIfInteger"; }' is not assignable to parameter of type 'NumberFormatOptions'.` - [packages\/@internationalized\/number\/src\/NumberParser.ts\#L171](https://github.com/adobe/react-spectrum/blob/9cbe7d40fc8c14cb617f4280bbe776fa5939cad3/packages/@internationalized/number/src/NumberParser.ts#L171) - [packages\/@internationalized\/number\/src\/NumberParser.ts\#L171](https://github.com/adobe/react-spectrum/blob/9cbe7d40fc8c14cb617f4280bbe776fa5939cad3/packages/@internationalized/number/src/NumberParser.ts#L171)
typescript-bot commented 7 months ago

aidenybai/million

**3 of 4 projects failed to build with the old tsc and were ignored** ### [website\/tsconfig.json](https://github.com/aidenybai/million/blob/6693dcc460ccf0226aafdde6c592f76e9175bf0e/website/tsconfig.json) - `error TS2322: Type '{ plugins: { legend: { display: boolean; }; }; indexAxis: "y"; scales: { x: { max: number; ticks: { format: { style: string; minimumFractionDigits: number; maximumFractionDigits: number; }; }; }; }; }' is not assignable to type '_DeepPartialObject & ElementChartOptions<"bar"> & PluginChartOptions<"bar"> & DatasetChartOptions<"bar"> & ScaleChartOptions<...> & BarControllerChartOptions>'.` - [website\/components\/chart.tsx\#L81](https://github.com/aidenybai/million/blob/6693dcc460ccf0226aafdde6c592f76e9175bf0e/website/components/chart.tsx#L81)
typescript-bot commented 7 months ago

alangpierce/sucrase

**4 of 18 projects failed to build with the old tsc and were ignored** ### [tsconfig.json](https://github.com/alangpierce/sucrase/blob/61c05e1e6f29c906c432da57c91ab44660196c8d/tsconfig.json) - `error TS2367: This comparison appears to be unintentional because the types 'JSXRole.NoChildren' and 'JSXRole.KeyAfterPropSpread' have no overlap.` - [src\/parser\/plugins\/jsx\/index.ts\#L258](https://github.com/alangpierce/sucrase/blob/61c05e1e6f29c906c432da57c91ab44660196c8d/src/parser/plugins/jsx/index.ts#L258) ### [src\/tsconfig.json](https://github.com/alangpierce/sucrase/blob/61c05e1e6f29c906c432da57c91ab44660196c8d/src/tsconfig.json) - `error TS2367: This comparison appears to be unintentional because the types 'JSXRole.NoChildren' and 'JSXRole.KeyAfterPropSpread' have no overlap.` - [src\/parser\/plugins\/jsx\/index.ts\#L258](https://github.com/alangpierce/sucrase/blob/61c05e1e6f29c906c432da57c91ab44660196c8d/src/parser/plugins/jsx/index.ts#L258)
typescript-bot commented 7 months ago

ardatan/graphql-tools

### [tsconfig.json](https://github.com/ardatan/graphql-tools/blob/fe6ae37c0945413a7a63443c27629f1c5a6c43e8/tsconfig.json) - `error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration.` - [tsconfig.json\#L19](https://github.com/ardatan/graphql-tools/blob/fe6ae37c0945413a7a63443c27629f1c5a6c43e8/tsconfig.json#L19)
typescript-bot commented 7 months ago

ariakit/ariakit

**1 of 6 projects failed to build with the old tsc and were ignored** ### [tsconfig.json](https://github.com/ariakit/ariakit/blob/63ffaec0f2c0a47bc04f7daef47ef2d582b415bb/tsconfig.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/ariakit-react-core\/src\/utils\/store.tsx\#L138](https://github.com/ariakit/ariakit/blob/63ffaec0f2c0a47bc04f7daef47ef2d582b415bb/packages/ariakit-react-core/src/utils/store.tsx#L138) ### [website\/tsconfig.json](https://github.com/ariakit/ariakit/blob/63ffaec0f2c0a47bc04f7daef47ef2d582b415bb/website/tsconfig.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/ariakit-react-core\/src\/utils\/store.tsx\#L138](https://github.com/ariakit/ariakit/blob/63ffaec0f2c0a47bc04f7daef47ef2d582b415bb/packages/ariakit-react-core/src/utils/store.tsx#L138) ### [packages\/ariakit-react-core\/tsconfig.build.json](https://github.com/ariakit/ariakit/blob/63ffaec0f2c0a47bc04f7daef47ef2d582b415bb/packages/ariakit-react-core/tsconfig.build.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/ariakit-react-core\/src\/utils\/store.tsx\#L138](https://github.com/ariakit/ariakit/blob/63ffaec0f2c0a47bc04f7daef47ef2d582b415bb/packages/ariakit-react-core/src/utils/store.tsx#L138) ### [packages\/ariakit-react\/tsconfig.build.json](https://github.com/ariakit/ariakit/blob/63ffaec0f2c0a47bc04f7daef47ef2d582b415bb/packages/ariakit-react/tsconfig.build.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/ariakit-react-core\/src\/utils\/store.tsx\#L138](https://github.com/ariakit/ariakit/blob/63ffaec0f2c0a47bc04f7daef47ef2d582b415bb/packages/ariakit-react-core/src/utils/store.tsx#L138)
typescript-bot commented 7 months ago

bitwarden/clients

**8 of 40 projects failed to build with the old tsc and were ignored** ### [tsconfig.json](https://github.com/bitwarden/clients/blob/6f31f42755bce3662e94a89b75b34a942a09420e/tsconfig.json) - `error TS2416: Property 'filterProvider' in type 'TwoFactorSetupComponent' is not assignable to the same property in base type 'TwoFactorSetupComponent'.` - [apps\/web\/src\/app\/admin-console\/organizations\/settings\/two-factor-setup.component.ts\#L80](https://github.com/bitwarden/clients/blob/6f31f42755bce3662e94a89b75b34a942a09420e/apps/web/src/app/admin-console/organizations/settings/two-factor-setup.component.ts#L80) ### [apps\/web\/tsconfig.json](https://github.com/bitwarden/clients/blob/6f31f42755bce3662e94a89b75b34a942a09420e/apps/web/tsconfig.json) - `error TS2416: Property 'filterProvider' in type 'TwoFactorSetupComponent' is not assignable to the same property in base type 'TwoFactorSetupComponent'.` - [apps\/web\/src\/app\/admin-console\/organizations\/settings\/two-factor-setup.component.ts\#L80](https://github.com/bitwarden/clients/blob/6f31f42755bce3662e94a89b75b34a942a09420e/apps/web/src/app/admin-console/organizations/settings/two-factor-setup.component.ts#L80)
typescript-bot commented 7 months ago

Chocobozzz/PeerTube

**4 of 11 projects failed to build with the old tsc and were ignored** ### [client\/tsconfig.json](https://github.com/Chocobozzz/PeerTube/blob/c67dfb979be044edd0ef9d82e8bd1c04e0cb0910/client/tsconfig.json) - `error TS2352: Conversion of type 'string' to type 'FormReactiveErrors' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.` - [client\/src\/app\/shared\/shared-forms\/form-validator.service.ts\#L59](https://github.com/Chocobozzz/PeerTube/blob/c67dfb979be044edd0ef9d82e8bd1c04e0cb0910/client/src/app/shared/shared-forms/form-validator.service.ts#L59)
typescript-bot commented 7 months ago

conventional-changelog/conventional-changelog

**2 of 14 projects failed to build with the old tsc and were ignored** ### [packages\/conventional-changelog-writer\/tsconfig.json](https://github.com/conventional-changelog/conventional-changelog/blob/90abd8a8a18d7aab06adcb67b36d7663e663576c/packages/conventional-changelog-writer/tsconfig.json) - `error TS2345: Argument of type 'SortBy>' is not assignable to parameter of type 'string | string[] | Comparator> | undefined'.` - [packages\/conventional-changelog-writer\/src\/options.ts\#L80](https://github.com/conventional-changelog/conventional-changelog/blob/90abd8a8a18d7aab06adcb67b36d7663e663576c/packages/conventional-changelog-writer/src/options.ts#L80)
typescript-bot commented 7 months 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/600bc54f65b59455a06f8ad7d2747a0139887bd9/packages/framer-motion/tsconfig.json) - `error TS2322: Type 'string' is not assignable to type 'number'.` - [packages\/framer-motion\/src\/projection\/animation\/mix-values.ts\#L75](https://github.com/framer/motion/blob/600bc54f65b59455a06f8ad7d2747a0139887bd9/packages/framer-motion/src/projection/animation/mix-values.ts#L75)
typescript-bot commented 7 months ago

growthbook/growthbook

**6 of 10 projects failed to build with the old tsc and were ignored** ### [packages\/back-end\/tsconfig.json](https://github.com/growthbook/growthbook/blob/acfd312d0b0f5aa7ba8268cf700a58877cd97c7b/packages/back-end/tsconfig.json) - `error TS2345: Argument of type 'Function' is not assignable to parameter of type '(req: Request>, res: Response, number>, next: NextFunction) => void | Promise<...>'.` - [packages\/back-end\/src\/routers\/wrapController.ts\#L17](https://github.com/growthbook/growthbook/blob/acfd312d0b0f5aa7ba8268cf700a58877cd97c7b/packages/back-end/src/routers/wrapController.ts#L17)
typescript-bot commented 7 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/7c07d075161bbf71a75e5b1d55e6b96baf6de49e/apps/web/tsconfig.json) - `error TS2345: Argument of type 'import("/mnt/ts_downloads/_/m/hey/node_modules/.pnpm/@apollo+client@3.9.11_@types+react@18.2.77_graphql@16.8.1_react-dom@18.2.0_react@18.2.0/node_modules/@apollo/client/link/core/ApolloLink").ApolloLink' is not assignable to parameter of type 'import("/mnt/ts_downloads/_/m/hey/node_modules/.pnpm/@apollo+client@3.9.11_graphql-ws@5.16.0_graphql@16.8.1/node_modules/@apollo/client/link/core/ApolloLink").ApolloLink'.` - [apps\/web\/src\/components\/Common\/Providers\/index.tsx\#L25](https://github.com/heyxyz/hey/blob/7c07d075161bbf71a75e5b1d55e6b96baf6de49e/apps/web/src/components/Common/Providers/index.tsx#L25) - `error TS2322: Type '(cache: ApolloCache) => void' is not assignable to type 'MutationUpdaterFunction, DefaultContext, ApolloCache>'.` - [apps\/web\/src\/components\/Publication\/Actions\/Like.tsx\#L80](https://github.com/heyxyz/hey/blob/7c07d075161bbf71a75e5b1d55e6b96baf6de49e/apps/web/src/components/Publication/Actions/Like.tsx#L80) - `error TS2322: Type '(cache: ApolloCache) => void' is not assignable to type 'MutationUpdaterFunction, DefaultContext, ApolloCache>'.` - [apps\/web\/src\/components\/Publication\/Actions\/Like.tsx\#L95](https://github.com/heyxyz/hey/blob/7c07d075161bbf71a75e5b1d55e6b96baf6de49e/apps/web/src/components/Publication/Actions/Like.tsx#L95) - `error TS2322: Type '(cache: ApolloCache) => void' is not assignable to type 'MutationUpdaterFunction, DefaultContext, ApolloCache<...>>'.` - [apps\/web\/src\/components\/Shared\/Profile\/P2PRecommendation.tsx\#L69](https://github.com/heyxyz/hey/blob/7c07d075161bbf71a75e5b1d55e6b96baf6de49e/apps/web/src/components/Shared/Profile/P2PRecommendation.tsx#L69) - `error TS2322: Type '(cache: ApolloCache) => void' is not assignable to type 'MutationUpdaterFunction, DefaultContext, ApolloCache<...>>'.` - [apps\/web\/src\/components\/Shared\/Profile\/P2PRecommendation.tsx\#L83](https://github.com/heyxyz/hey/blob/7c07d075161bbf71a75e5b1d55e6b96baf6de49e/apps/web/src/components/Shared/Profile/P2PRecommendation.tsx#L83)
typescript-bot commented 7 months ago

highcharts/highcharts

**19 of 26 projects failed to build with the old tsc and were ignored** ### [ts\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/tsconfig.json) - `error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.` - [ts\/tsconfig.json\#L134](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/tsconfig.json#L134) in [ts\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/tsconfig.json) ### [ts\/masters-es5\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/masters-es5/tsconfig.json) - `error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.` - Project Scope in [ts\/masters-es5\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/masters-es5/tsconfig.json) ### [ts\/masters-datagrid\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/masters-datagrid/tsconfig.json) - `error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.` - Project Scope in [ts\/masters-datagrid\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/masters-datagrid/tsconfig.json) ### [ts\/masters-dashboards\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/masters-dashboards/tsconfig.json) - `error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.` - Project Scope in [ts\/masters-dashboards\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/masters-dashboards/tsconfig.json) ### [ts\/DataGrid\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/DataGrid/tsconfig.json) - `error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.` - Project Scope in [ts\/DataGrid\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/DataGrid/tsconfig.json) ### [ts\/Dashboards\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/Dashboards/tsconfig.json) - `error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.` - Project Scope in [ts\/Dashboards\/tsconfig.json](https://github.com/highcharts/highcharts/blob/a2ed3dbe4e1daca0e6934a601c611023254fc7c5/ts/Dashboards/tsconfig.json)
typescript-bot commented 7 months ago

ionic-team/stencil

**34 of 38 projects failed to build with the old tsc and were ignored** ### [tsconfig.json](https://github.com/ionic-team/stencil/blob/3964a93e00844e59e4ab630a7bafce93c3c1a127/tsconfig.json) - `error TS2367: This comparison appears to be unintentional because the types 'number' and 'string' have no overlap.` - [src\/runtime\/proxy-component.ts\#L157](https://github.com/ionic-team/stencil/blob/3964a93e00844e59e4ab630a7bafce93c3c1a127/src/runtime/proxy-component.ts#L157)
typescript-bot commented 7 months ago

jupyterlab/jupyterlab

**42 of 58 projects failed to build with the old tsc and were ignored** ### [galata\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/galata/tsconfig.json) - `error TS2503: Cannot find namespace 'jest'.` - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L29 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L36 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L40 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L44 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L48 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L52 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L56 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) ### [galata\/extension\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/galata/extension/tsconfig.json) - `error TS2503: Cannot find namespace 'jest'.` - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L29 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L36 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L40 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L44 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L48 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L52 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json) - file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L56 in [packages\/notebook\/tsconfig.json](https://github.com/jupyterlab/jupyterlab/blob/f7e5022946d0b8437f076484ef717e9e66cadc8c/packages/notebook/tsconfig.json)
typescript-bot commented 7 months ago

keplergl/kepler.gl

**13 of 17 projects failed to build with the old tsc and were ignored** ### [src\/actions\/tsconfig.production.json](https://github.com/keplergl/kepler.gl/blob/6667a966bd82074d902fe5009fe728abf1672561/src/actions/tsconfig.production.json) - `error TS2307: Cannot find module '@deck.gl/core/lib/deck' or its corresponding type declarations.` - [src\/actions\/src\/vis-state-actions.ts\#L5](https://github.com/keplergl/kepler.gl/blob/6667a966bd82074d902fe5009fe728abf1672561/src/actions/src/vis-state-actions.ts#L5)
typescript-bot commented 7 months ago

LokerL/tts-vue

### [tsconfig.json](https://github.com/LokerL/tts-vue/blob/96cabf49cf891bfb2b441b2cea592dc5b6b4ec43/tsconfig.json) - `error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration.` - [tsconfig.json\#L17](https://github.com/LokerL/tts-vue/blob/96cabf49cf891bfb2b441b2cea592dc5b6b4ec43/tsconfig.json#L17)
typescript-bot commented 7 months ago

microsoft/playwright

**4 of 15 projects failed to build with the old tsc and were ignored** ### [packages\/html-reporter\/tsconfig.json](https://github.com/microsoft/playwright/blob/6ad48fb594fefd56259cebd324ee5e9ca35b5c40/packages/html-reporter/tsconfig.json) - `error TS1192: Module '"/mnt/ts_downloads/_/m/playwright/node_modules/@zip.js/zip.js/index"' has no default export.` - [packages\/html-reporter\/src\/index.tsx\#L18](https://github.com/microsoft/playwright/blob/6ad48fb594fefd56259cebd324ee5e9ca35b5c40/packages/html-reporter/src/index.tsx#L18)
typescript-bot commented 7 months ago

microsoft/vscode

**7 of 54 projects failed to build with the old tsc and were ignored** ### [src\/tsconfig.monaco.json](https://github.com/microsoft/vscode/blob/6bdf8642bb90bf391f44b6df089a2d824890a7f5/src/tsconfig.monaco.json) - `error TS2322: Type '(o: IObservable) => boolean' is not assignable to type '(observable: IObservable) => this is { change: TChange; }'.` - [src\/vs\/base\/common\/observableInternal\/autorun.ts\#L256](https://github.com/microsoft/vscode/blob/6bdf8642bb90bf391f44b6df089a2d824890a7f5/src/vs/base/common/observableInternal/autorun.ts#L256) - [src\/vs\/base\/common\/observableInternal\/derived.ts\#L341](https://github.com/microsoft/vscode/blob/6bdf8642bb90bf391f44b6df089a2d824890a7f5/src/vs/base/common/observableInternal/derived.ts#L341)
typescript-bot commented 7 months ago

misskey-dev/misskey

**6 of 13 projects failed to build with the old tsc and were ignored** ### [packages\/backend\/tsconfig.json](https://github.com/misskey-dev/misskey/blob/bba3097765317cbf95d09627961b5b5dce16a972/packages/backend/tsconfig.json) - `error TS2322: Type '() => true' is not assignable to type '() => this is IJust'.` - [packages\/backend\/src\/misc\/prelude\/maybe.ts\#L16](https://github.com/misskey-dev/misskey/blob/bba3097765317cbf95d09627961b5b5dce16a972/packages/backend/src/misc/prelude/maybe.ts#L16) - `error TS2322: Type '() => false' is not assignable to type '() => this is IJust'.` - [packages\/backend\/src\/misc\/prelude\/maybe.ts\#L23](https://github.com/misskey-dev/misskey/blob/bba3097765317cbf95d09627961b5b5dce16a972/packages/backend/src/misc/prelude/maybe.ts#L23) ### [packages\/backend\/test\/tsconfig.json](https://github.com/misskey-dev/misskey/blob/bba3097765317cbf95d09627961b5b5dce16a972/packages/backend/test/tsconfig.json) - `error TS2322: Type '() => true' is not assignable to type '() => this is IJust'.` - [packages\/backend\/src\/misc\/prelude\/maybe.ts\#L16](https://github.com/misskey-dev/misskey/blob/bba3097765317cbf95d09627961b5b5dce16a972/packages/backend/src/misc/prelude/maybe.ts#L16) - `error TS2322: Type '() => false' is not assignable to type '() => this is IJust'.` - [packages\/backend\/src\/misc\/prelude\/maybe.ts\#L23](https://github.com/misskey-dev/misskey/blob/bba3097765317cbf95d09627961b5b5dce16a972/packages/backend/src/misc/prelude/maybe.ts#L23)
typescript-bot commented 7 months ago

outline/outline

### [tsconfig.json](https://github.com/outline/outline/blob/bc74f929998e257426ee4a1cad8b659beca96591/tsconfig.json) - `error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration.` - [tsconfig.json\#L26](https://github.com/outline/outline/blob/bc74f929998e257426ee4a1cad8b659beca96591/tsconfig.json#L26)
typescript-bot commented 7 months ago

sequelize/sequelize

**12 of 16 projects failed to build with the old tsc and were ignored** ### [packages\/core\/tsconfig.json](https://github.com/sequelize/sequelize/blob/ba0b99493b323393b8df912ac6b6e9f5953a120b/packages/core/tsconfig.json) - `error TS2578: Unused '@ts-expect-error' directive.` - [packages\/core\/src\/decorators\/shared\/model.ts\#L136](https://github.com/sequelize/sequelize/blob/ba0b99493b323393b8df912ac6b6e9f5953a120b/packages/core/src/decorators/shared/model.ts#L136) - [packages\/core\/src\/model-definition.ts\#L1011](https://github.com/sequelize/sequelize/blob/ba0b99493b323393b8df912ac6b6e9f5953a120b/packages/core/src/model-definition.ts#L1011)
typescript-bot commented 7 months ago

strapi/strapi

**76 of 118 projects failed to build with the old tsc and were ignored** ### [packages\/core\/content-type-builder\/server\/tsconfig.json](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/tsconfig.json) - `error TS2339: Property 'dominant' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L117](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L117) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L192](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L192) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L194](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L194) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L211](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L211) - `error TS2339: Property 'inversedBy' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L179](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L179) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L191](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L191) - `error TS2339: Property 'mappedBy' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L179](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L179) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L193](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L193) - `error TS2339: Property 'targetAttribute' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L182](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L182) ### [packages\/core\/content-type-builder\/server\/tsconfig.eslint.json](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/tsconfig.eslint.json) - `error TS2339: Property 'dominant' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L117](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L117) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L192](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L192) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L194](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L194) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L211](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L211) - `error TS2339: Property 'inversedBy' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L179](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L179) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L191](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L191) - `error TS2339: Property 'mappedBy' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L179](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L179) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L193](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L193) - `error TS2339: Property 'targetAttribute' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L182](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L182) ### [packages\/core\/content-type-builder\/server\/tsconfig.build.json](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/tsconfig.build.json) - `error TS2339: Property 'dominant' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L117](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L117) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L192](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L192) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L194](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L194) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L211](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L211) - `error TS2339: Property 'inversedBy' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L179](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L179) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L191](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L191) - `error TS2339: Property 'mappedBy' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L179](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L179) - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L193](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L193) - `error TS2339: Property 'targetAttribute' does not exist on type 'Relation'.` - [packages\/core\/content-type-builder\/server\/src\/services\/schema-builder\/content-type-builder.ts\#L182](https://github.com/strapi/strapi/blob/0ddbe5821004736c0ec623eacd6009338f74877b/packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts#L182)
typescript-bot commented 7 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/d49300a4230835f6a771ed1a6b759c61c8902d7e/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/d49300a4230835f6a771ed1a6b759c61c8902d7e/www/tsconfig.json#L8)
typescript-bot commented 7 months ago

tailwindlabs/headlessui

**1 of 5 projects failed to build with the old tsc and were ignored** ### [packages\/@headlessui-vue\/tsconfig.json](https://github.com/tailwindlabs/headlessui/blob/b86737b698f46502d0e32bb1bfddd76cfa3f54ac/packages/@headlessui-vue/tsconfig.json) - `error TS2527: The inferred type of 'disposables' references an inaccessible 'this' type. A type annotation is necessary.` - [packages\/@headlessui-vue\/src\/utils\/disposables.ts\#L5](https://github.com/tailwindlabs/headlessui/blob/b86737b698f46502d0e32bb1bfddd76cfa3f54ac/packages/@headlessui-vue/src/utils/disposables.ts#L5) ### [packages\/@headlessui-react\/tsconfig.json](https://github.com/tailwindlabs/headlessui/blob/b86737b698f46502d0e32bb1bfddd76cfa3f54ac/packages/@headlessui-react/tsconfig.json) - `error TS2527: The inferred type of 'useDisposables' references an inaccessible 'this' type. A type annotation is necessary.` - [packages\/@headlessui-react\/src\/hooks\/use-disposables.ts\#L8](https://github.com/tailwindlabs/headlessui/blob/b86737b698f46502d0e32bb1bfddd76cfa3f54ac/packages/@headlessui-react/src/hooks/use-disposables.ts#L8) - `error TS2527: The inferred type of 'disposables' references an inaccessible 'this' type. A type annotation is necessary.` - [packages\/@headlessui-react\/src\/utils\/disposables.ts\#L17](https://github.com/tailwindlabs/headlessui/blob/b86737b698f46502d0e32bb1bfddd76cfa3f54ac/packages/@headlessui-react/src/utils/disposables.ts#L17)
typescript-bot commented 7 months ago

TanStack/router

**59 of 64 projects failed to build with the old tsc and were ignored** ### [packages\/react-cross-context\/tsconfig.json](https://github.com/TanStack/router/blob/f856306b33a176b0d8fa6e8a3861d0eb2fff4854/packages/react-cross-context/tsconfig.json) - `error TS2769: No overload matches this call.` - [packages\/react-cross-context\/vite.config.ts\#L6](https://github.com/TanStack/router/blob/f856306b33a176b0d8fa6e8a3861d0eb2fff4854/packages/react-cross-context/vite.config.ts#L6) - `error TS2345: Argument of type 'UserConfig & Promise & (UserConfigFnObject & UserConfigExport)' is not assignable to parameter of type 'never'.` - [packages\/react-cross-context\/vite.config.ts\#L10](https://github.com/TanStack/router/blob/f856306b33a176b0d8fa6e8a3861d0eb2fff4854/packages/react-cross-context/vite.config.ts#L10)
typescript-bot commented 7 months ago

tweenjs/tween.js

### [tsconfig.json](https://github.com/tweenjs/tween.js/blob/451041100e54c8cd2472872e307c1895f7ede7db/tsconfig.json) - `error TS5102: Option 'importsNotUsedAsValues' has been removed. Please remove it from your configuration.` - [tsconfig.json\#L15](https://github.com/tweenjs/tween.js/blob/451041100e54c8cd2472872e307c1895f7ede7db/tsconfig.json#L15)
RyanCavanaugh commented 7 months ago

bitwarden/clients has this setup

  // Base class
  protected filterProvider(type: TwoFactorProviderType) {
    return type !== TwoFactorProviderType.OrganizationDuo;
  }

  // Derived class
  protected filterProvider(type: TwoFactorProviderType) {
    return type === TwoFactorProviderType.OrganizationDuo;
  }

So type predicate inference broke the class subtyping. They just need to add ): boolean to the base class method. FYi @willmartian @shane-melton @mgibson1

RyanCavanaugh commented 7 months ago

sucrase got broken by #57847, it looks like this

  state.tokens[initialTokenIndex].jsxRole = JSXRole.NoChildren;
                 // this initialization gets CFA'd now
  let numExplicitChildren = 0;
  const isSelfClosing = jsxParseOpeningElement(initialTokenIndex);
  if (!isSelfClosing) {
    nextJSXExprToken();
    while (true) {
      switch (state.type) {
        case tt.jsxTagStart:
          nextJSXTagToken();
          if (match(tt.slash)) {
            nextJSXTagToken();
            jsxParseClosingElement();
            // Key after prop spread takes precedence over number of children,
            // since it means we switch to createElement, which doesn't care
            // about number of children.
            if (state.tokens[initialTokenIndex].jsxRole !== JSXRole.KeyAfterPropSpread) {
                                                     // ^^^
      //                                      apppears impossible now
RyanCavanaugh commented 7 months ago

Chocobozzz/Peertube has a similar thing:

    for (const name of objectKeysTyped(formToBuild)) {
      formErrors[name] = ''

      const field = formToBuild[name]
      if (this.isRecursiveField(field)) {
        this.updateFormGroup(
          // FIXME: typings
          (form as any)[name],
          formErrors[name] as FormReactiveErrors,

Though it looks like a legit error in this case unless isRecursiveField actually has side effects (???)

RyanCavanaugh commented 7 months ago

framer/motion does a compound coercion which we now detect:

            target[borderLabel] = Math.max(
                mixNumber(
                    asNumber(followRadius),
                    asNumber(leadRadius),
                    progress
                ),
                0
            )

            if (percent.test(leadRadius) || percent.test(followRadius)) {
                target[borderLabel] += "%"
            }