Skip to content

Commit e8d50a1

Browse files
committed
1 parent b6dfbae commit e8d50a1

File tree

5 files changed

+45
-0
lines changed

5 files changed

+45
-0
lines changed

bugs/643/build/a.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
var b_1 = require('./b');
2+
class A {
3+
constructor() {
4+
this.b = new b_1.B();
5+
}
6+
}
7+
exports.A = A;

bugs/643/build/b.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class B {
2+
constructor() {
3+
}
4+
}
5+
exports.B = B;

bugs/643/src/a.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { B }from './b'
2+
3+
export class A {
4+
b:B;
5+
constructor(){
6+
this.b = new B();
7+
}
8+
}

bugs/643/src/b.ts

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export class B {
2+
constructor(){}
3+
}

bugs/643/tsconfig.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"transpiler": "typescript",
3+
"compileOnSave": true,
4+
"compilerOptions": {
5+
"target": "es6",
6+
"declaration": false,
7+
"noImplicitAny": false,
8+
"removeComments": true,
9+
"emitDecoratorMetadata": true,
10+
"experimentalDecorators": true,
11+
"noLib": false,
12+
"outDir": "build"
13+
},
14+
"filesGlob": [
15+
"./src/*.ts"
16+
],
17+
"files": [
18+
"./src/a.ts",
19+
"./src/b.ts"
20+
],
21+
"exclude": []
22+
}

0 commit comments

Comments
 (0)