mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Added tests.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// @module: commonjs
|
||||
|
||||
// @filename: t1.ts
|
||||
export var x = "x";
|
||||
|
||||
// @filename: t2.ts
|
||||
export { x } from
|
||||
"./t1";
|
||||
|
||||
// @filename: t3.ts
|
||||
export { } from
|
||||
"./t1";
|
||||
|
||||
// @filename: t4.ts
|
||||
export { x as a } from
|
||||
"./t1";
|
||||
|
||||
// @filename: t5.ts
|
||||
export { x as a, } from
|
||||
"./t1";
|
||||
@@ -0,0 +1,16 @@
|
||||
// @module: commonjs
|
||||
|
||||
// @filename: t1.ts
|
||||
export var x = "x";
|
||||
|
||||
// @filename: t2.ts
|
||||
export { x, from "./t1"
|
||||
|
||||
// @filename: t3.ts
|
||||
export { from "./t1"
|
||||
|
||||
// @filename: t4.ts
|
||||
export { x as a from "./t1"
|
||||
|
||||
// @filename: t5.ts
|
||||
export { x as a, from "./t1"
|
||||
@@ -0,0 +1,20 @@
|
||||
// @module: commonjs
|
||||
|
||||
// @filename: t1.ts
|
||||
export var x = "x";
|
||||
|
||||
// @filename: t2.ts
|
||||
export { x, from
|
||||
"./t1";
|
||||
|
||||
// @filename: t3.ts
|
||||
export { from
|
||||
"./t1";
|
||||
|
||||
// @filename: t4.ts
|
||||
export { x as a from
|
||||
"./t1";
|
||||
|
||||
// @filename: t5.ts
|
||||
export { x as a, from
|
||||
"./t1";
|
||||
Reference in New Issue
Block a user