RFC: Add advanced typing to your hal json vuex #2689
Annotations
10 errors
|
Run npm run coverage:
src/Collection.ts#L15
Class 'Collection<Item>' incorrectly implements interface 'CollectionInterface<Item>'.
|
Run npm run coverage:
src/Collection.ts#L15
Type 'Item & Link' does not satisfy the constraint 'ResourceInterface<Item & Link>'.
|
Run npm run coverage:
src/Collection.ts#L22
Property 'items' does not exist on type 'StoreData<Item & Link>'.
|
Run npm run coverage:
src/Collection.ts#L29
Property 'items' does not exist on type 'StoreData<Item & Link>'.
|
Run npm run coverage:
src/Collection.ts#L36
Property 'items' does not exist on type 'StoreData<Item & Link>'.
|
Run npm run coverage:
src/ResourceCreator.ts#L63
Conversion of type 'StoreData<T | Item> & CollectionInterface<ResourceInterface<ResourceInterface<any>>>' to type 'StoreData<Item & Link>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run npm run coverage:
src/ResourceCreator.ts#L67
Type 'T' does not satisfy the constraint 'ResourceInterface<T>'.
|
Run npm run coverage:
src/storeModule.ts#L6
Generic type 'StoreData' requires 1 type argument(s).
|
Run npm run coverage
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading