Closed walkstreet closed 3 years ago
Help, I've got a question with the subject. I tried to use import * as url from "url", but it didn't work.
import * as url from "url"
It should be import url from 'url'. However, do note that TS's module system is broken unless you're using esModuleInterop and synthetic imports.
import url from 'url'
esModuleInterop
Help, I've got a question with the subject. I tried to use
import * as url from "url"
, but it didn't work.