Skip to content

Unable to resolve Typescript definitions for UMD package #445

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

Closed
ReallyBadNews opened this issue Sep 30, 2021 · 1 comment
Closed

Unable to resolve Typescript definitions for UMD package #445

ReallyBadNews opened this issue Sep 30, 2021 · 1 comment

Comments

@ReallyBadNews
Copy link
Contributor

Hi all, It appears that the typescript definitions are broken for the UMD bundle import.

The typescript defs work when importing from @cloudinary/url-gen/bundles/umd, which is incorrect but break when using the correct @cloudinary/url-gen/bundles/umd/base import.

Could not find a declaration file

https://codesandbox.io/s/quiet-sound-453yf?file=/pages/index.tsx

Originally posted by @ReallyBadNews in #444 (comment)

@patrick-tolosa
Copy link
Contributor

@ReallyBadNews I'm closing this issue since the PR is merged, please reach out in case you need anything else.

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