feat: modify cache type to allow generic usage #602
Annotations
10 errors, 3 warnings, and 1 notice
test:
test/use-swr-cache.test.tsx#L55
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L74
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L95
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L104
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L121
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L127
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L153
Type 'Map<string, { data: number; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L231
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L442
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test:
test/use-swr-cache.test.tsx#L482
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
|
test
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/.
|
e2e
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, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
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/
|
🎭 Playwright Run Summary
9 passed (6.9s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
418 KB |
|