You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the linter in my project, it fails on these ts errors:
node_modules/@birdwingo/react-native-instagram-stories/src/components/AvatarList/index.tsx:4:38 - error TS2307: Cannot find module '~/core/dto/componentsDTO' or its corresponding type declarations.
4 import { StoryAvatarListProps } from '~/core/dto/componentsDTO';
~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@birdwingo/react-native-instagram-stories/src/components/AvatarList/index.tsx:5:37 - error TS2307: Cannot find module '~/core/dto/instagramStoriesDTO' or its corresponding type declarations.
5 import { InstagramStoryProps } from '~/core/dto/instagramStoriesDTO';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@birdwingo/react-native-instagram-stories/src/components/Modal/index.tsx:477:19 - error TS2322: Type 'DerivedValue<string>' is not assignable to type 'SharedValue<string | undefined>'.
Types of property 'set' are incompatible.
Type '(value: string | ((value: string) => string)) => void' is not assignable to type '(value: string | ((value: string | undefined) => string | undefined) | undefined) => void'.
Types of parameters 'value' and 'value' are incompatible.
Type 'string | ((value: string | undefined) => string | undefined) | undefined' is not assignable to type 'string | ((value: string) => string)'.
Type 'undefined' is not assignable to type 'string | ((value: string) => string)'.
477 activeUser={userId}
~~~~~~~~~~
node_modules/@birdwingo/react-native-instagram-stories/src/core/dto/componentsDTO.ts:157:3
157 activeUser: SharedValue<string | undefined>;
~~~~~~~~~~
The expected type comes from property 'activeUser' which is declared here on type 'IntrinsicAttributes & StoryListProps'
node_modules/@birdwingo/react-native-instagram-stories/src/components/Modal/index.tsx:478:19 - error TS2322: Type 'SharedValue<string>' is not assignable to type 'SharedValue<string | undefined>'.
Types of property 'set' are incompatible.
Type '(value: string | ((value: string) => string)) => void' is not assignable to type '(value: string | ((value: string | undefined) => string | undefined) | undefined) => void'.
Types of parameters 'value' and 'value' are incompatible.
Type 'string | ((value: string | undefined) => string | undefined) | undefined' is not assignable to type 'string | ((value: string) => string)'.
Type 'undefined' is not assignable to type 'string | ((value: string) => string)'.
478 activeStory={currentStory}
~~~~~~~~~~~
node_modules/@birdwingo/react-native-instagram-stories/src/core/dto/componentsDTO.ts:158:3
158 activeStory: SharedValue<string | undefined>;
~~~~~~~~~~~
The expected type comes from property 'activeStory' which is declared here on type 'IntrinsicAttributes & StoryListProps'
node_modules/@birdwingo/react-native-instagram-stories/src/core/dto/instagramStoriesDTO.ts:7:32 - error TS2307: Cannot find module '@shopify/flash-list' or its corresponding type declarations.
7 import { FlashListProps } from '@shopify/flash-list';
~~~~~~~~~~~~~~~~~~~~~
Found 5 errors in 3 files.
Errors Files
2 node_modules/@birdwingo/react-native-instagram-stories/src/components/AvatarList/index.tsx:4
2 node_modules/@birdwingo/react-native-instagram-stories/src/components/Modal/index.tsx:477
1 node_modules/@birdwingo/react-native-instagram-stories/src/core/dto/instagramStoriesDTO.ts:7
I am on the latest version of this library "@birdwingo/react-native-instagram-stories": "^1.3.10",
The text was updated successfully, but these errors were encountered:
When I run the linter in my project, it fails on these ts errors:
I am on the latest version of this library
"@birdwingo/react-native-instagram-stories": "^1.3.10",
The text was updated successfully, but these errors were encountered: