Search Terms
Namespacing exports as
Suggestion
Currently to export things under a conceptual "package" namespace in TypeScript developers must add a proxy barrel file
a.ts
b.ts
index.barrel.ts
export * from './a'
export * from './b'
index.ts
export * as mypackage from './index.barrel'
It would be great if the `export * as mypackage' statement could merge exports with the same name
Examples
a.ts
b.ts
index.ts
export * as mypackage from './a'
export * as mypackage from './b'
Checklist
My suggestion meets these guidelines:
Search Terms
Namespacing exports as
Suggestion
Currently to export things under a conceptual "package" namespace in TypeScript developers must add a proxy barrel file
a.ts
b.ts
index.barrel.ts
index.ts
It would be great if the `export * as mypackage' statement could merge exports with the same name
Examples
a.ts
b.ts
index.ts
Checklist
My suggestion meets these guidelines: