Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With Angular 15.x it's giving following error #712

Open
learneradarsh opened this issue May 27, 2024 · 0 comments
Open

With Angular 15.x it's giving following error #712

learneradarsh opened this issue May 27, 2024 · 0 comments

Comments

@learneradarsh
Copy link

Error: ../types/node_modules/io-ts/lib/index.d.ts:1412:29 - error TS2344: Type 'P' does not satisfy the constraint 'Exact<P, P>'.
Type 'P' is not assignable to type '{ [K in ({ [K in keyof P]: K; } & { [K in keyof P]: never; } & { [key: string]: never; })[keyof P]]?: undefined; }'.

1412 PP extends Exact<P, PP> = P,
~

../types/node_modules/io-ts/lib/index.d.ts:1407:37
1407 export declare function alias<A, O, P, I>(
~
This type parameter might need an extends { [K in ({ [K in keyof P]: K; } & { [K in keyof P]: never; } & { [key: string]: never; })[keyof P]]?: undefined; } constraint.

Error: ../types/node_modules/io-ts/lib/index.d.ts:1419:29 - error TS2344: Type 'O' does not satisfy the constraint 'Exact<O, O>'.
Type 'O' is not assignable to type '{ [K in ({ [K in keyof O]: K; } & { [K in keyof O]: never; } & { [key: string]: never; })[keyof O]]?: undefined; }'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant