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

No TypeScript annotations for browser builds #1733

Open
TokugawaTakeshi opened this issue Feb 6, 2021 · 3 comments
Open

No TypeScript annotations for browser builds #1733

TokugawaTakeshi opened this issue Feb 6, 2021 · 3 comments
Labels

Comments

@TokugawaTakeshi
Copy link

TokugawaTakeshi commented Feb 6, 2021

From the documentation:

Browser builds in the npm-package
The browser builds are located in the node_modules/handlebars/dist/ directory. Making these accessible to the browser will depend on what build system you are using but this may be as simple as copying the files to an acessible place.

🌎Source

But the TypeScript does not know about these modules:

image

Please declare them.

@louis030195
Copy link

any updates?

@Useems
Copy link

Useems commented Jun 13, 2023

up

@davloperez
Copy link

As workaround, you can use // @ts-ignore the line before this import. But it would be nice to have typings for browser dist :)

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

No branches or pull requests

5 participants