All the associated types are provided by the namespace ReactUseApiarrow-up-right as long as importing react-use-api.
react-use-api
NOTE, this only works if you set up compilerOptions.typeRoots: ["node_modules/@types"] in your tsconfig.json.Support TypeScript v2.9+ only
NOTE, this only works if you set up compilerOptions.typeRoots: ["node_modules/@types"] in your tsconfig.json.
Support TypeScript v2.9+ only
Last updated 6 years ago
Was this helpful?