Open AuroraDysis opened 2 years ago
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;
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.