* 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>
22 lines
660 B
Plaintext
22 lines
660 B
Plaintext
tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'.
|
|
tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'.
|
|
|
|
|
|
==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ====
|
|
export const a = 1;
|
|
export const b = 2;
|
|
|
|
==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ====
|
|
export * as ns from './0';
|
|
ns.a;
|
|
~~
|
|
!!! error TS2304: Cannot find name 'ns'.
|
|
ns.b;
|
|
~~
|
|
!!! error TS2304: Cannot find name 'ns'.
|
|
|
|
==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ====
|
|
import * as foo from './1'
|
|
|
|
foo.ns.a;
|
|
foo.ns.b; |