pouchorm
pouchorm copied to clipboard
Type 'IModel' does not satisfy the constraint '{}'
I'm getting the following error:
Error: node_modules/pouchorm/dist/types.d.ts:36:73 - error TS2344: Type 'IModel' does not satisfy the constraint '{}'.
[ng]
[ng] 36 export declare type SyncResult<IModel> = PouchDB.Replication.SyncResult<IModel>;
[ng] ~~~~~~
[ng]
[ng] node_modules/pouchorm/dist/types.d.ts:36:32
[ng] 36 export declare type SyncResult<IModel> = PouchDB.Replication.SyncResult<IModel>;
[ng] ~~~~~~
[ng] This type parameter might need an extends {}
constraint.
[ng]
[ng]
[ng] Error: node_modules/pouchorm/dist/types.d.ts:37:61 - error TS2344: Type 'IModel' does not satisfy the constraint '{}'.
[ng]
[ng] 37 export declare type Sync<IModel> = PouchDB.Replication.Sync<IModel>;
Hey I can't seem to replicate that. Just pushed a new version v2.1.3. Is it still an issue?
Also what version of typescript and pouchORM are you using?