feat: modify cache type to allow generic usage #602
Annotations
10 errors and 2 warnings
Lint and test:
test/use-swr-cache.test.tsx#L55
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L74
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L95
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L104
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L121
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L127
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L153
Type 'Map<string, { data: number; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L231
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L442
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Lint and test:
test/use-swr-cache.test.tsx#L482
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading