3 ms·
Any survivors of https://www.typescriptlang.org/docs/handbook/esm-node.html https://www.typescriptlang.org/docs/handbook/esm-node.html wanna share their experie
by kuramitropolis 4y ago
Any survivors of https://www.typescriptlang.org/docs/handbook/esm-node.html https://www.typescriptlang.org/docs/handbook/esm-node.html wanna share their experiences?
- zebracanevra 4y agotype 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.