Add warning in development when a result function is x => x
.
#285
build-and-test-types.yml
on: pull_request
Matrix: build
Matrix: Check package config with are-the-types-wrong
Matrix: test-published-artifact
Matrix: test-types
Annotations
62 errors and 7 warnings
Test Published Artifact node-standard
Process completed with exit code 1.
|
Test Published Artifact node-esm
Process completed with exit code 1.
|
Test Types with TypeScript 4.9:
typescript_test/argsMemoize.typetest.ts#L706
No overload matches this call.
|
Test Types with TypeScript 4.9:
typescript_test/argsMemoize.typetest.ts#L723
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
Test Types with TypeScript 4.9:
typescript_test/argsMemoize.typetest.ts#L729
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
|
|
|
|
Test Types with TypeScript 4.9:
typescript_test/argsMemoize.typetest.ts#L740
Property 'cache' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 4.9:
typescript_test/argsMemoize.typetest.ts#L742
Property 'fn' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 4.9:
typescript_test/argsMemoize.typetest.ts#L744
Property 'isMemoized' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'. Did you mean 'memoize'?
|
Test Types with TypeScript 5.2:
typescript_test/argsMemoize.typetest.ts#L706
No overload matches this call.
|
Test Types with TypeScript 5.2:
typescript_test/argsMemoize.typetest.ts#L723
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
Test Types with TypeScript 5.2:
typescript_test/argsMemoize.typetest.ts#L729
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
|
|
|
|
Test Types with TypeScript 5.2:
typescript_test/argsMemoize.typetest.ts#L740
Property 'cache' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 5.2:
typescript_test/argsMemoize.typetest.ts#L742
Property 'fn' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 5.2:
typescript_test/argsMemoize.typetest.ts#L744
Property 'isMemoized' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'. Did you mean 'memoize'?
|
Test Types with TypeScript 5.1:
typescript_test/argsMemoize.typetest.ts#L706
No overload matches this call.
|
Test Types with TypeScript 5.1:
typescript_test/argsMemoize.typetest.ts#L723
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
Test Types with TypeScript 5.1:
typescript_test/argsMemoize.typetest.ts#L729
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
|
|
|
|
Test Types with TypeScript 5.1:
typescript_test/argsMemoize.typetest.ts#L740
Property 'cache' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 5.1:
typescript_test/argsMemoize.typetest.ts#L742
Property 'fn' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 5.1:
typescript_test/argsMemoize.typetest.ts#L744
Property 'isMemoized' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'. Did you mean 'memoize'?
|
Test Types with TypeScript 5.0:
typescript_test/argsMemoize.typetest.ts#L706
No overload matches this call.
|
Test Types with TypeScript 5.0:
typescript_test/argsMemoize.typetest.ts#L723
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
Test Types with TypeScript 5.0:
typescript_test/argsMemoize.typetest.ts#L729
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
|
|
|
|
Test Types with TypeScript 5.0:
typescript_test/argsMemoize.typetest.ts#L740
Property 'cache' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 5.0:
typescript_test/argsMemoize.typetest.ts#L742
Property 'fn' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 5.0:
typescript_test/argsMemoize.typetest.ts#L744
Property 'isMemoized' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'. Did you mean 'memoize'?
|
Test Types with TypeScript 4.8:
typescript_test/argsMemoize.typetest.ts#L706
No overload matches this call.
|
Test Types with TypeScript 4.8:
typescript_test/argsMemoize.typetest.ts#L723
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
Test Types with TypeScript 4.8:
typescript_test/argsMemoize.typetest.ts#L729
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
|
|
|
|
Test Types with TypeScript 4.8:
typescript_test/argsMemoize.typetest.ts#L740
Property 'cache' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 4.8:
typescript_test/argsMemoize.typetest.ts#L742
Property 'fn' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 4.8:
typescript_test/argsMemoize.typetest.ts#L744
Property 'isMemoized' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'. Did you mean 'memoize'?
|
Test Types with TypeScript 4.7:
typescript_test/argsMemoize.typetest.ts#L706
No overload matches this call.
|
Test Types with TypeScript 4.7:
typescript_test/argsMemoize.typetest.ts#L723
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
Test Types with TypeScript 4.7:
typescript_test/argsMemoize.typetest.ts#L729
Argument of type 'unknown' is not assignable to parameter of type '{ id: number; completed: boolean; }[]'.
|
|
|
|
|
Test Types with TypeScript 4.7:
typescript_test/argsMemoize.typetest.ts#L740
Property 'cache' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 4.7:
typescript_test/argsMemoize.typetest.ts#L742
Property 'fn' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Test Types with TypeScript 4.7:
typescript_test/argsMemoize.typetest.ts#L744
Property 'isMemoized' does not exist on type '((state: any, ...params: any[]) => unknown) & { clearCache: () => void; } & { resultFunc: (...resultFuncArgs: readonly unknown[]) => unknown; memoizedResultFunc: ((...resultFuncArgs: readonly unknown[]) => unknown) & { clearCache: () => void; }; lastResult: () => unknown; dependencies: SelectorArray; recomputations:...'.
|
Build and Test on Node 16.x
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Published Artifact node-standard
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Published Artifact node-esm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Published Artifact vite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Published Artifact next
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Published Artifact cra5
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Published Artifact cra4
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
package
Expired
|
140 KB |
|