Exported variable 'ButtonFrame' has or is using name 'DecayConfig' from external module "/srv/crossed/node_modules/.pnpm/react-native-reanimated@3.4.2_6syixf76bqx5r4tgwtwyqyssoi/node_modules/react-native-reanimated/lib/typescript/reanimated2/animation/decay" but cannot be named.
export const styled = <
P extends Record<string, any> = {},
T extends ConfigSchema<P> = {}
>(
Component: ComponentType<P> & { styles?: any },
themeConfigProps: ConfigSchemaTheme<P, T>
) => {
Expected Behavior
I want extends props off MotiPressable, if you replace by simple Pressable, this work
Steps To Reproduce
I use pnpm@7
git clone https://github.com/lobor/crossed.gitcd ./crossedpnpm ipnpm watch
Build not work because type checking error, but pnpm watch ignores it
open file packages/ui/src/forms/Button.tsx and see error on line 34
styled function is in packages/core/src/styled.tsx
Is there an existing issue for this?
Do you want this issue prioritized?
Current Behavior
Expected Behavior
I want extends props off MotiPressable, if you replace by simple Pressable, this work
Steps To Reproduce
I use pnpm@7
git clone https://github.com/lobor/crossed.git
cd ./crossed
pnpm i
pnpm watch
Build not work because type checking error, but pnpm watch ignores itopen file
packages/ui/src/forms/Button.tsx
and see error on line 34styled
function is inpackages/core/src/styled.tsx
Versions
Screenshots
No response
Reproduction
I use pnpm@7
repo project https://github.com/lobor/crossed
git clone https://github.com/lobor/crossed.git
cd ./crossed
pnpm i
pnpm watch
Build not work because type checking error, but pnpm watch ignores itopen file
packages/ui/src/forms/Button.tsx
and see error on line 34styled
function is inpackages/core/src/styled.tsx