Looks like some types were included in v0.9.0 but when I install via npm install @rollbar/react then the correct version is installed but types are still missing.
I think the index.d.ts is not included in the package:
So the types are not available in the code:
error TS7016: Could not find a declaration file for module '@rollbar/react'. '.../node_modules/@rollbar/react/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/rollbar__react` if it exists or add a new declaration (.d.ts) file containing `declare module '@rollbar/react';`
8 import { Provider as RollbarProvider, ErrorBoundary as RollbarErrorBoundary } from '@rollbar/react';
Looks like some types were included in v0.9.0 but when I install via
npm install @rollbar/react
then the correct version is installed but types are still missing.I think the index.d.ts is not included in the package:
So the types are not available in the code: