Skip to content

fix: unwrap synchronously returns awaited values of resolved promise atoms #4176

fix: unwrap synchronously returns awaited values of resolved promise atoms

fix: unwrap synchronously returns awaited values of resolved promise atoms #4176

Triggered via pull request December 19, 2024 22:19
Status Failure
Total duration 31s
Artifacts

lint-and-type.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
lint: src/vanilla/utils/unwrap.ts#L23
Property 'unstable_onInit' does not exist on type 'Atom<GetAtomStateRef>'. Did you mean 'unstable_is'?
lint: src/vanilla/utils/unwrap.ts#L23
Parameter 'store' implicitly has an 'any' type.
lint: src/vanilla/utils/unwrap.ts#L24
Rest parameter 'args' implicitly has an 'any[]' type.
lint
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636