Skip to content
New issue

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

Does this work with react + TS? it's not working for me. #12

Open
topboyasante opened this issue Oct 23, 2023 · 2 comments
Open

Does this work with react + TS? it's not working for me. #12

topboyasante opened this issue Oct 23, 2023 · 2 comments

Comments

@topboyasante
Copy link

topboyasante commented Oct 23, 2023

Errors i get :

Could not find a declaration file for module '@reactive-labs/onboarding'. 'c:/Users/user/Desktop/tickettribe/node_modules/@reactive-labs/onboarding/dist/react-onboarding.js' implicitly has an 'any' type.
Try npm i --save-dev @types/reactive-labs__onboarding if it exists or add a new declaration (.d.ts) file containing declare module '@reactive-labs/onboarding';

@younesbenallal
Copy link

younesbenallal commented Mar 1, 2024

I think it comes from package.json that does not declare the ts declaration file.

I've added this as a temporary fix:

{
    "types": "dist/index.d.ts",`
}

@alexvcasillas could you update the package.json?

@alexvcasillas
Copy link
Owner

Will do, thanks for taking care 🙇🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants