[idea] add pending to store.unstable_derive
#2525
Annotations
4 errors and 1 warning
Test 3.8.3:
tests/vanilla/unstable_derive.test.tsx#L17
Argument of type '(getAtomState: <Value>(pending: Pending | undefined, atom: Atom<Value>) => AtomState<Value>, args_1: <Value>(pending: Pending | undefined, atom: Atom<...>, get: Getter, options: { ...; }) => Value, args_2: <Value, Args extends unknown[], Result>(pending: Pending, atom: WritableAtom<...>, ...params: Parameters<...>) ...' is not assignable to parameter of type '(args_0: <Value>(pending: Pending | undefined, atom: Atom<Value>) => AtomState<Value>, args_1: <Value>(pending: Pending | undefined, atom: Atom<Value>, get: Getter, options: { ...; }) => Value, args_2: <Value, Args extends unknown[], Result>(pending: Pending, atom: WritableAtom<...>, ...params: Parameters<...>) => R...'.
|
Test 3.8.3:
tests/vanilla/unstable_derive.test.tsx#L58
Argument of type '(getAtomState: <Value>(pending: Pending | undefined, atom: Atom<Value>) => AtomState<Value>, args_1: <Value>(pending: Pending | undefined, atom: Atom<...>, get: Getter, options: { ...; }) => Value, args_2: <Value, Args extends unknown[], Result>(pending: Pending, atom: WritableAtom<...>, ...params: Parameters<...>) ...' is not assignable to parameter of type '(args_0: <Value>(pending: Pending | undefined, atom: Atom<Value>) => AtomState<Value>, args_1: <Value>(pending: Pending | undefined, atom: Atom<Value>, get: Getter, options: { ...; }) => Value, args_2: <Value, Args extends unknown[], Result>(pending: Pending, atom: WritableAtom<...>, ...params: Parameters<...>) => R...'.
|
Test 3.8.3:
tests/vanilla/unstable_derive.test.tsx#L99
Argument of type '(getAtomState: <Value>(pending: Pending | undefined, atom: Atom<Value>) => AtomState<Value>, atomRead: <Value>(pending: Pending | undefined, atom: Atom<...>, get: Getter, options: { ...; }) => Value, args_2: <Value, Args extends unknown[], Result>(pending: Pending, atom: WritableAtom<...>, ...params: Parameters<...>...' is not assignable to parameter of type '(args_0: <Value>(pending: Pending | undefined, atom: Atom<Value>) => AtomState<Value>, args_1: <Value>(pending: Pending | undefined, atom: Atom<Value>, get: Getter, options: { ...; }) => Value, args_2: <Value, Args extends unknown[], Result>(pending: Pending, atom: WritableAtom<...>, ...params: Parameters<...>) => R...'.
|
Test 3.8.3
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading