fix: fix render hook typing #579
ci.yml
on: pull_request
Install and Cache deps
20s
Lint
28s
Typecheck
23s
Typecheck
33s
Test
1m 2s
Test React 18
1m 3s
Annotations
7 errors
Typecheck
Process completed with exit code 2.
|
Typecheck:
src/render-hook.tsx#L78
Cannot assign to 'current' because it is a read-only property.
|
Typecheck:
src/render-hook.tsx#L48
Cannot assign to 'current' because it is a read-only property.
|
Typecheck:
src/__tests__/suspense.test.tsx#L17
Property 'use' does not exist on type 'typeof React'.
|
Typecheck:
src/__tests__/suspense-fake-timers.test.tsx#L19
Property 'use' does not exist on type 'typeof React'.
|
Typecheck:
src/__tests__/render-hook-async.test.tsx#L173
Property 'use' does not exist on type 'typeof React'.
|
Typecheck:
src/__tests__/render-hook-async.test.tsx#L128
Property 'use' does not exist on type 'typeof React'.
|