RFC: Add advanced typing to your hal json vuex #2689
Annotations
9 errors and 2 warnings
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.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading