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 it really support Typescript? #156

Open
JaimeFLandbot opened this issue Oct 20, 2023 · 1 comment
Open

Does it really support Typescript? #156

JaimeFLandbot opened this issue Oct 20, 2023 · 1 comment

Comments

@JaimeFLandbot
Copy link

JaimeFLandbot commented Oct 20, 2023

Your readme says so, but after installing your package, it complains about not founding types definition.

Captura de pantalla 2023-10-20 a las 9 45 06

Obviously trying to install @types\react-freezeframe failed. And also de node-modules does not have any d.ts file

image

I'm using latest version: 5.0.2

@otomad
Copy link

otomad commented Jan 23, 2024

Yeah, it is forget to add "declaration": true in react-freezeframe / tsconfig.json so the package doesn't provide the .d.ts file.

In the freezeframe package, it even set to false!

"declaration": false,

Hope to change it to true (including all packages) so that to use .d.ts file.

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

2 participants