This is a minor thing, but one section of the readme points out that {type: module} will be inferred:
import source myModule from "./my-module.js";
// `{ type: 'module' }` can be inferred since myModule is a module object
const worker = new Worker(myModule);
This seems bad for readability and adds additional overhead to the act of reading. It reduces typing time, but reading time is more significant. I lean towards keeping this explicit. Do we have other reasons why this would be inferred?
This is a minor thing, but one section of the readme points out that
{type: module}will be inferred:This seems bad for readability and adds additional overhead to the act of reading. It reduces typing time, but reading time is more significant. I lean towards keeping this explicit. Do we have other reasons why this would be inferred?