4c7844be74
* init export start as decl * fix some broken * fix more case * fix more and more case * make it work * make lint happy and accept baseline * add more tests * fix system module * add more case * delete useless assert * accept baseline * make lint happy * fix missing utils * update api * make lint happy * add missing semi * fix minor issue * fix locally bound * avoid useless check * update public api * add more case * fix some case * Use multi-module selection in test runner to cut down on duplication. * Accepted baselines. * remove superfluous tests. * Remove baseline. * Downlevel `export * as ns` in es2015. * Accepted baselines. * Update names of things. Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
20 lines
No EOL
322 B
TypeScript
20 lines
No EOL
322 B
TypeScript
// @module: esnext, es2015, commonjs, amd, system, umd
|
|
// @filename: 0.ts
|
|
// @declaration: true
|
|
// @esModuleInterop: true
|
|
export const a = 1;
|
|
export const b = 2;
|
|
|
|
// @filename: 1.ts
|
|
export * as ns from './0';
|
|
ns.a;
|
|
ns.b;
|
|
let ns = {a: 1, b: 2}
|
|
ns.a;
|
|
ns.b;
|
|
|
|
// @filename: 2.ts
|
|
import * as foo from './1'
|
|
|
|
foo.ns.a;
|
|
foo.ns.b; |