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

import from esm module #72

Open
AuroraDysis opened this issue Nov 29, 2021 · 0 comments
Open

import from esm module #72

AuroraDysis opened this issue Nov 29, 2021 · 0 comments

Comments

@AuroraDysis
Copy link

I'm not sure what the exact reason is, but when importing from the ESM module, the type deduction is completely wrong.
I have to use the following code to import the package.

import hltv from "hltv-api";
const HLTV = (hltv as any).default;
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

1 participant