Skip to content

fix: full rewrite of ScopeProvider to address known issues #290

fix: full rewrite of ScopeProvider to address known issues

fix: full rewrite of ScopeProvider to address known issues #290

Triggered via push September 25, 2024 00:15
Status Failure
Total duration 36s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
test: __tests__/derive/baseTests/vanilla/unstable_derive.test.tsx#L16
Argument of type '(getAtomState: GetAtomState) => [<Value>(atom: Atom<Value>, originAtomState: AtomState<unknown> | undefined) => any]' is not assignable to parameter of type '(getAtomState: GetAtomState, atomRead: <Value>(atom: Atom<Value>, get: Getter, options: { readonly signal: AbortSignal; readonly setSelf: never; }) => Value, atomWrite: <Value, Args extends unknown[], Result>(atom: WritableAtom<...>, get: Getter, set: Setter, ...args: Args) => Result) => StoreArgs'.
test: __tests__/derive/baseTests/vanilla/unstable_derive.test.tsx#L58
Argument of type '(getAtomState: GetAtomState) => [<Value>(atom: Atom<Value>, originAtomState: AtomState<unknown> | undefined) => any]' is not assignable to parameter of type '(getAtomState: GetAtomState, atomRead: <Value>(atom: Atom<Value>, get: Getter, options: { readonly signal: AbortSignal; readonly setSelf: never; }) => Value, atomWrite: <Value, Args extends unknown[], Result>(atom: WritableAtom<...>, get: Getter, set: Setter, ...args: Args) => Result) => StoreArgs'.
test: __tests__/derive/baseTests/vanilla/unstable_derive.test.tsx#L99
Argument of type '(getAtomState: GetAtomState) => [<Value>(atom: Atom<Value>, originAtomState: AtomState<unknown> | undefined) => any]' is not assignable to parameter of type '(getAtomState: GetAtomState, atomRead: <Value>(atom: Atom<Value>, get: Getter, options: { readonly signal: AbortSignal; readonly setSelf: never; }) => Value, atomWrite: <Value, Args extends unknown[], Result>(atom: WritableAtom<...>, get: Getter, set: Setter, ...args: Args) => Result) => StoreArgs'.
test: __tests__/derive/baseTests/vanilla/unstable_derive.test.tsx#L178
Argument of type '(getAtomState: GetAtomState) => [<Value>(atom: Atom<Value>, originAtomState: AtomState<unknown> | undefined) => any]' is not assignable to parameter of type '(getAtomState: GetAtomState, atomRead: <Value>(atom: Atom<Value>, get: Getter, options: { readonly signal: AbortSignal; readonly setSelf: never; }) => Value, atomWrite: <Value, Args extends unknown[], Result>(atom: WritableAtom<...>, get: Getter, set: Setter, ...args: Args) => Result) => StoreArgs'.
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test: __tests__/derive/derivedStore.ts#L4
'scopedAtoms' is assigned a value but never used
test: __tests__/derive/understanding/atomState.test.ts#L15
'atomCState' is assigned a value but never used
test: __tests__/derive/understanding/unstable_derive.test.ts#L85
'get' is defined but never used. Allowed unused args must match /^_/u
test: __tests__/derive/understanding/unstable_derive.test.ts#L85
'set' is defined but never used. Allowed unused args must match /^_/u
test: src/ScopeProvider2/scope.ts#L219
'isWritableAtom' is defined but never used
test: src/ScopeProvider2/scope.ts#L223
'defaultWrite' is assigned a value but never used