When I run yarn build and get error
@/components:build: ui/tooltip/index.tsx:114:14 - error TS2742: The inferred type of 'TooltipText' cannot be named without a reference to 'react-native/node_modules/@types/react'. This is likely not portable. A type annotation is necessary.
@/components:build:
@/components:build: 114 export const TooltipText = React.forwardRef<
Tasks: 0 successful, 1 total
Cached: 0 cached, 1 total
Time: 3.939s
Failed: @/components#build
How to disable check without a reference ?
When I run yarn build and get error
@/components:build: ui/tooltip/index.tsx:114:14 - error TS2742: The inferred type of 'TooltipText' cannot be named without a reference to 'react-native/node_modules/@types/react'. This is likely not portable. A type annotation is necessary.
@/components:build:
@/components:build: 114 export const TooltipText = React.forwardRef<
Tasks: 0 successful, 1 total
Cached: 0 cached, 1 total
Time: 3.939s
Failed: @/components#build
How to disable check without a reference ?