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