We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
namespace XXX {}
$ npm exec -- esbuild --format=esm --bundle ./entry.mts
==> entry.mts <== import { TypeRegistry } from './lib.mjs' TypeRegistry.Clear() ==> lib.mts <== export namespace TypeRegistry { const map = new Map<string, unknown>() export function Entries() { return new Map(map) } export function Clear() { return map.clear() } }
// lib.mts var TypeRegistry; ((TypeRegistry2) => { const map = /* @__PURE__ */ new Map(); function Entries() { return new Map(map); } TypeRegistry2.Entries = Entries; function Clear() { return map.clear(); } TypeRegistry2.Clear = Clear; })(TypeRegistry || (TypeRegistry = {})); // entry.mts TypeRegistry.Clear();
// lib.mts var TypeRegistry = / /* @__PURE__ */(()=>{ ((TypeRegistry2) => { const map = /* @__PURE__ */ new Map(); function Clear() { return map.clear(); } TypeRegistry2.Clear = /* @__PURE__ */Clear; })(TypeRegistry || (TypeRegistry = {})); })() // entry.mts TypeRegistry.Clear();
sinclairzx81/typebox#401
The text was updated successfully, but these errors were encountered:
import * as foo from 'foo'
ImportNamespaceSpecifier
Close in favor of #3077
Sorry, something went wrong.
No branches or pull requests
Reproduce
$ npm exec -- esbuild --format=esm --bundle ./entry.mts
Actual
Expected
Related
sinclairzx81/typebox#401
The text was updated successfully, but these errors were encountered: