JacobZwang
JacobZwang
DDeno
Created by JacobZwang on 5/22/2024 in #help
How to import enums from npm:typescript package?
ah, I see. thanks!
6 replies
DDeno
Created by JacobZwang on 5/22/2024 in #help
How to import enums from npm:typescript package?
and why does this also not work?
import { ScriptTarget } from "npm:typescript";
console.log(ScriptTarget.ESNext);
import { ScriptTarget } from "npm:typescript";
console.log(ScriptTarget.ESNext);
6 replies
DDeno
Created by JacobZwang on 5/22/2024 in #help
How to import enums from npm:typescript package?
oh huh, why does this work?
6 replies