mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Added test.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// @module: commonjs
|
||||
// @target: es5
|
||||
|
||||
// @filename: t1.ts
|
||||
let set = {
|
||||
set foo(x: number) {
|
||||
}
|
||||
}
|
||||
let get = 10;
|
||||
|
||||
export { set, get };
|
||||
|
||||
// @filename: t2.ts
|
||||
import * as set from "./t1";
|
||||
|
||||
// @filename: t3.ts
|
||||
import { set as yield } from "./t1";
|
||||
|
||||
// @filename: t4.ts
|
||||
import { get } from "./t1";
|
||||
Reference in New Issue
Block a user