Replies: 1 comment
-
@vivijiang Thanks for bringing attention to this. We will be adding support for Typescript in the Searchbox libraries in the next release for Searchbox libraries: appbaseio/searchbox#111. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi community,
We are building a ReactNative app with TypeScript, now we would like to use react-native-searchbox. But found it doesn't support TypeScript. Errors attached below. Is there any workaround to get it work? Thanks
Could not find a declaration file for module '@appbaseio/react-native-searchbox'. '/Users/vivi_jiang/Projects/Mango/code/app/mango-react-native/node_modules/@appbaseio/react-native-searchbox/src/index.js' implicitly has an 'any' type.
Try
npm i --save-dev @types/appbaseio__react-native-searchbox
if it exists or add a new declaration (.d.ts) file containingdeclare module '@appbaseio/react-native-searchbox';
Beta Was this translation helpful? Give feedback.
All reactions