Skip to content

import from esm module #72

@AuroraDysis

Description

@AuroraDysis

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions