Skip to content

Commit 04eb04c

Browse files
committed
more cycle tests and an es6 target test
1 parent be31c1a commit 04eb04c

File tree

10 files changed

+41
-0
lines changed

10 files changed

+41
-0
lines changed

dependencyView/anotherCycle1.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
exports.foo = 123;
2+
exports.foo.toString();

dependencyView/anotherCycle1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import {foo as bar} from "./anotherCycle3";
2+
export var foo = 123;
3+
foo.toString();

dependencyView/anotherCycle2.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
var anotherCycle1_1 = require("./anotherCycle1");
2+
exports.foo = anotherCycle1_1.foo;

dependencyView/anotherCycle2.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import {foo} from "./anotherCycle1";
2+
export {foo}

dependencyView/anotherCycle3.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
var anotherCycle2_1 = require("./anotherCycle2");
2+
exports.foo = anotherCycle2_1.foo;

dependencyView/anotherCycle3.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import {foo} from "./anotherCycle2";
2+
export {foo}

dependencyView/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"!./node_modules/**/*.ts"
1414
],
1515
"files": [
16+
"./anotherCycle1.ts",
17+
"./anotherCycle2.ts",
18+
"./anotherCycle3.ts",
1619
"./circular1.ts",
1720
"./circular2.ts",
1821
"./doesNotDependOnAnything.ts",

es6Target/es6Target.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var foo;
2+
Object.setPrototypeOf(foo, '');
3+
var bar;

es6Target/es6Target.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
var foo;
2+
Object.setPrototypeOf(foo, '');
3+
4+
var bar: Promise<any>;

es6Target/tsconfig.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "1.4.1",
3+
"compilerOptions": {
4+
"target": "es6",
5+
"module": "commonjs",
6+
"declaration": false,
7+
"noImplicitAny": false,
8+
"removeComments": true,
9+
"noLib": false
10+
},
11+
"filesGlob": [
12+
"./**/*.ts",
13+
"!./node_modules/**/*.ts"
14+
],
15+
"files": [
16+
"./es6Target.ts"
17+
]
18+
}

0 commit comments

Comments
 (0)