4 ms·
type module in the package.json, and import every and all .ts file with a .js extension. zero problems for a year or two.
by zebracanevra 4y ago
type module in the package.json, and import every and all .ts file with a .js extension. zero problems for a year or two.
- kuramitropolis 4y ago>import every and all .ts file with a .js extension And recompile on every change, gotcha. I am emphatically not doing either. EDIT: for future reference, `"type": "module"` is not part of the fix but the thing that opens that particular can of worms. Rotten ones.