Comments (30)
adobe/react-spectrum
5 of 10 projects failed to build with the old tsc and were ignored
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'.
from typescript.
aidenybai/million
3 of 4 projects failed to build with the old tsc and were ignored
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<CoreChartOptions<"bar"> & ElementChartOptions<"bar"> & PluginChartOptions<"bar"> & DatasetChartOptions<"bar"> & ScaleChartOptions<...> & BarControllerChartOptions>'.
from typescript.
alangpierce/sucrase
4 of 18 projects failed to build with the old tsc and were ignored
tsconfig.json
error TS2367: This comparison appears to be unintentional because the types 'JSXRole.NoChildren' and 'JSXRole.KeyAfterPropSpread' have no overlap.
src/tsconfig.json
error TS2367: This comparison appears to be unintentional because the types 'JSXRole.NoChildren' and 'JSXRole.KeyAfterPropSpread' have no overlap.
from typescript.
ardatan/graphql-tools
tsconfig.json
error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration.
from typescript.
ariakit/ariakit
1 of 6 projects failed to build with the old tsc and were ignored
tsconfig.json
error TS2578: Unused '@ts-expect-error' directive.
website/tsconfig.json
error TS2578: Unused '@ts-expect-error' directive.
packages/ariakit-react-core/tsconfig.build.json
error TS2578: Unused '@ts-expect-error' directive.
packages/ariakit-react/tsconfig.build.json
error TS2578: Unused '@ts-expect-error' directive.
from typescript.
bitwarden/clients
8 of 40 projects failed to build with the old tsc and were ignored
tsconfig.json
error TS2416: Property 'filterProvider' in type 'TwoFactorSetupComponent' is not assignable to the same property in base type 'TwoFactorSetupComponent'.
apps/web/tsconfig.json
error TS2416: Property 'filterProvider' in type 'TwoFactorSetupComponent' is not assignable to the same property in base type 'TwoFactorSetupComponent'.
from typescript.
Chocobozzz/PeerTube
4 of 11 projects failed to build with the old tsc and were ignored
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.
from typescript.
conventional-changelog/conventional-changelog
2 of 14 projects failed to build with the old tsc and were ignored
packages/conventional-changelog-writer/tsconfig.json
error TS2345: Argument of type 'SortBy<PickStrings<Commit>>' is not assignable to parameter of type 'string | string[] | Comparator<PickStrings<Commit>> | undefined'.
from typescript.
framer/motion
3 of 4 projects failed to build with the old tsc and were ignored
packages/framer-motion/tsconfig.json
error TS2322: Type 'string' is not assignable to type 'number'.
from typescript.
growthbook/growthbook
6 of 10 projects failed to build with the old tsc and were ignored
packages/back-end/tsconfig.json
error TS2345: Argument of type 'Function' is not assignable to parameter of type '(req: Request<any, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>, number>, next: NextFunction) => void | Promise<...>'.
from typescript.
heyxyz/hey
2 of 13 projects failed to build with the old tsc and were ignored
apps/web/tsconfig.json
error TS2345: Argument of type 'import("/mnt/ts_downloads/_/m/hey/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@apollo/client/link/core/ApolloLink").ApolloLink' is not assignable to parameter of type 'import("/mnt/ts_downloads/_/m/hey/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@apollo/client/link/core/ApolloLink").ApolloLink'.
error TS2322: Type '(cache: ApolloCache<any>) => void' is not assignable to type 'MutationUpdaterFunction<AddReactionMutation, Exact<{ request: ReactionRequest; }>, DefaultContext, ApolloCache<any>>'.
error TS2322: Type '(cache: ApolloCache<any>) => void' is not assignable to type 'MutationUpdaterFunction<RemoveReactionMutation, Exact<{ request: ReactionRequest; }>, DefaultContext, ApolloCache<any>>'.
error TS2322: Type '(cache: ApolloCache<any>) => void' is not assignable to type 'MutationUpdaterFunction<PeerToPeerRecommendMutation, Exact<{ request: PeerToPeerRecommendRequest; }>, DefaultContext, ApolloCache<...>>'.
error TS2322: Type '(cache: ApolloCache<any>) => void' is not assignable to type 'MutationUpdaterFunction<PeerToPeerUnrecommendMutation, Exact<{ request: PeerToPeerRecommendRequest; }>, DefaultContext, ApolloCache<...>>'.
from typescript.
highcharts/highcharts
19 of 26 projects failed to build with the old tsc and were ignored
ts/tsconfig.json
error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.
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
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
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
ts/DataGrid/tsconfig.json
error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.
- Project Scope in ts/DataGrid/tsconfig.json
ts/Dashboards/tsconfig.json
error TS5102: Option 'keyofStringsOnly' has been removed. Please remove it from your configuration.
- Project Scope in ts/Dashboards/tsconfig.json
from typescript.
ionic-team/stencil
34 of 38 projects failed to build with the old tsc and were ignored
tsconfig.json
error TS2367: This comparison appears to be unintentional because the types 'number' and 'string' have no overlap.
from typescript.
jupyterlab/jupyterlab
42 of 58 projects failed to build with the old tsc and were ignored
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
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L36 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L40 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L44 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L48 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L52 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L56 in packages/notebook/tsconfig.json
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
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L36 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L40 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L44 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L48 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L52 in packages/notebook/tsconfig.json
- file:///mnt/ts_downloads/_/m/jupyterlab/packages/services/lib/testutils.d.ts#L56 in packages/notebook/tsconfig.json
from typescript.
keplergl/kepler.gl
13 of 17 projects failed to build with the old tsc and were ignored
src/actions/tsconfig.production.json
error TS2307: Cannot find module '@deck.gl/core/lib/deck' or its corresponding type declarations.
from typescript.
LokerL/tts-vue
tsconfig.json
error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration.
from typescript.
microsoft/playwright
4 of 15 projects failed to build with the old tsc and were ignored
packages/html-reporter/tsconfig.json
error TS1192: Module '"/mnt/ts_downloads/_/m/playwright/node_modules/@zip.js/zip.js/index"' has no default export.
from typescript.
microsoft/vscode
7 of 54 projects failed to build with the old tsc and were ignored
src/tsconfig.monaco.json
error TS2322: Type '<T, TChange>(o: IObservable<T, TChange>) => boolean' is not assignable to type '<T, TChange>(observable: IObservable<T, TChange>) => this is { change: TChange; }'.
from typescript.
misskey-dev/misskey
6 of 13 projects failed to build with the old tsc and were ignored
packages/backend/tsconfig.json
error TS2322: Type '() => true' is not assignable to type '() => this is IJust<T>'.
error TS2322: Type '() => false' is not assignable to type '() => this is IJust<T>'.
packages/backend/test/tsconfig.json
error TS2322: Type '() => true' is not assignable to type '() => this is IJust<T>'.
error TS2322: Type '() => false' is not assignable to type '() => this is IJust<T>'.
from typescript.
outline/outline
tsconfig.json
error TS5102: Option 'suppressImplicitAnyIndexErrors' has been removed. Please remove it from your configuration.
from typescript.
sequelize/sequelize
12 of 16 projects failed to build with the old tsc and were ignored
packages/core/tsconfig.json
error TS2578: Unused '@ts-expect-error' directive.
from typescript.
strapi/strapi
76 of 118 projects failed to build with the old tsc and were ignored
packages/core/content-type-builder/server/tsconfig.json
error TS2339: Property 'dominant' does not exist on type 'Relation<Schema, Any, ContentType>'.
- 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
- 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
error TS2339: Property 'inversedBy' does not exist on type 'Relation<Schema, Any, ContentType>'.
error TS2339: Property 'mappedBy' does not exist on type 'Relation<Schema, Any, ContentType>'.
error TS2339: Property 'targetAttribute' does not exist on type 'Relation<Schema, Any, ContentType>'.
packages/core/content-type-builder/server/tsconfig.eslint.json
error TS2339: Property 'dominant' does not exist on type 'Relation<Schema, Any, ContentType>'.
- 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
- 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
error TS2339: Property 'inversedBy' does not exist on type 'Relation<Schema, Any, ContentType>'.
error TS2339: Property 'mappedBy' does not exist on type 'Relation<Schema, Any, ContentType>'.
error TS2339: Property 'targetAttribute' does not exist on type 'Relation<Schema, Any, ContentType>'.
packages/core/content-type-builder/server/tsconfig.build.json
error TS2339: Property 'dominant' does not exist on type 'Relation<Schema, Any, ContentType>'.
- 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
- 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
error TS2339: Property 'inversedBy' does not exist on type 'Relation<Schema, Any, ContentType>'.
error TS2339: Property 'mappedBy' does not exist on type 'Relation<Schema, Any, ContentType>'.
error TS2339: Property 'targetAttribute' does not exist on type 'Relation<Schema, Any, ContentType>'.
from typescript.
t3-oss/create-t3-app
1 of 6 projects failed to build with the old tsc and were ignored
www/tsconfig.json
error TS5102: Option 'importsNotUsedAsValues' has been removed. Please remove it from your configuration.
from typescript.
tailwindlabs/headlessui
1 of 5 projects failed to build with the old tsc and were ignored
packages/@headlessui-vue/tsconfig.json
error TS2527: The inferred type of 'disposables' references an inaccessible 'this' type. A type annotation is necessary.
packages/@headlessui-react/tsconfig.json
error TS2527: The inferred type of 'useDisposables' references an inaccessible 'this' type. A type annotation is necessary.
error TS2527: The inferred type of 'disposables' references an inaccessible 'this' type. A type annotation is necessary.
from typescript.
TanStack/router
59 of 64 projects failed to build with the old tsc and were ignored
packages/react-cross-context/tsconfig.json
error TS2769: No overload matches this call.
error TS2345: Argument of type 'UserConfig & Promise<UserConfig> & (UserConfigFnObject & UserConfigExport)' is not assignable to parameter of type 'never'.
from typescript.
tweenjs/tween.js
tsconfig.json
error TS5102: Option 'importsNotUsedAsValues' has been removed. Please remove it from your configuration.
from typescript.
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
from typescript.
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
from typescript.
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 (???)
from typescript.
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] += "%"
}
from typescript.
Related Issues (20)
- function with overloading incorrectly defines generic variables HOT 3
- TS2590: Expression produces a union type that is too complex to represent, with simple file using Tuples HOT 6
- Debug Failure in transformClassLike in "ghost" after #56955 HOT 1
- no error when re-exporting wildcard import from module and redefining a name from it HOT 1
- TypeScript Error only on big type only when assigned to a variable HOT 3
- Allow explicit declaration of an object property to be omitted when the property is typed as `undefined` HOT 5
- generic parameter is not narrowed down correctly in extends clause when using keyof operator HOT 4
- OOM typescript, mac m1+. HOT 1
- [NewErrors] 5.5.0-dev.20240421 vs 5.4.5 HOT 63
- [ServerErrors][TypeScript] 5.5.0-dev.20240421 HOT 14
- [ServerErrors][JavaScript] 5.5.0-dev.20240421 HOT 8
- `T extends infer I1 extends { K: infer I2 }` infers I2 to unknown HOT 7
- Wrong type narrowing on union type. HOT 2
- Document link for reference types and path
- object with `?:` property type, spread last --> allowed (but shouldn't) HOT 3
- Add a flag to require JS object literals to be initialized with all declared members HOT 4
- Type inference lost after spreading array with `ArrayLike` HOT 1
- Regular Expression finds HOT 4
- "This comparison appears to be unintentional" and control flow analysis with a variable updated in lambda HOT 4
- Classes static generic function return `any` type. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript.