We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using vite + react-ts I get error TS2322 if I set useBasicStyles in props
4.7.1
No response
import { ChakraProvider } from '@chakra-ui/react'; import { Select } from 'chakra-react-select'; function App() { return ( <ChakraProvider> <Select useBasicStyles /> </ChakraProvider> ) } export default App
"lint-tsc": "tsc --noEmit && eslint src/**/*.ts{,x}",
yarn lint-tsc
$ yarn lint-tsc yarn run v1.22.19 $ tsc --noEmit && eslint src/**/*.ts{,x} src/App.tsx:7:15 - error TS2322: Type '{ useBasicStyles: true; }' is not assignable to type 'IntrinsicAttributes & Omit<PublicBaseSelectProps<unknown, false, GroupBase<unknown>>, StateManagedPropKeys> & Partial<...> & StateManagerAdditionalProps<...> & RefAttributes<...>'. Property 'useBasicStyles' does not exist on type 'IntrinsicAttributes & Omit<PublicBaseSelectProps<unknown, false, GroupBase<unknown>>, StateManagedPropKeys> & Partial<...> & StateManagerAdditionalProps<...> & RefAttributes<...>'. 7 <Select useBasicStyles /> ~~~~~~~~~~~~~~ Found 1 error in src/App.tsx:7
No errors for create-react-app
The text was updated successfully, but these errors were encountered:
Thanks for the heads up, somehow some local changes got included in my publish of v4.7.1. Everything should be fixed in v4.7.2!
v4.7.1
v4.7.2
Sorry, something went wrong.
csandman
No branches or pull requests
Description
When using vite + react-ts I get error TS2322 if I set useBasicStyles in props
chakra-react-select Version
4.7.1
Link to Reproduction
No response
TypeScript?
Steps to reproduce
yarn lint-tsc
Operating System
Additional Information
No errors for create-react-app
The text was updated successfully, but these errors were encountered: