Skip to content

adding some types, and do some refactor #709

adding some types, and do some refactor

adding some types, and do some refactor #709

Triggered via pull request November 14, 2024 15:08
Status Failure
Total duration 2m 27s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
typecheck: src/components/Modal/ReactNativeModal/Modal.tsx#L226
Type '{}[]' is not assignable to type '((false | "" | ViewStyle | RegisteredStyle<ViewStyle> | RecursiveArray<ViewStyle | Falsy | RegisteredStyle<ViewStyle>> | null) & { ...; }) | undefined'.
typecheck: src/components/Modal/ReactNativeModal/Modal.tsx#L249
This comparison appears to be unintentional because the types '""' and '"AttachmentPicker"' have no overlap.
typecheck: src/components/Modal/ReactNativeModal/Modal.tsx#L275
This comparison appears to be unintentional because the types '""' and '"AttachmentPicker"' have no overlap.
typecheck
Process completed with exit code 2.