Skip to content

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

Open
@learneradarsh

Description

@learneradarsh

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; }'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions