File tree Expand file tree Collapse file tree 4 files changed +41
-0
lines changed
errorcases/fixmyts/classAddMember Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ var Test = ( function ( ) {
2
+ function Test ( ) {
3
+ this . something = 123 ;
4
+ var foo = new OtherTest ( ) ;
5
+ foo . something = 123 ;
6
+ }
7
+ return Test ;
8
+ } ) ( ) ;
9
+ var OtherTest = ( function ( ) {
10
+ function OtherTest ( ) {
11
+ }
12
+ return OtherTest ;
13
+ } ) ( ) ;
Original file line number Diff line number Diff line change
1
+ class Test {
2
+ constructor ( ) {
3
+ this . something = 123 ;
4
+ var foo = new OtherTest ( ) ;
5
+ foo . something = 123 ;
6
+ }
7
+ }
8
+
9
+ class OtherTest {
10
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 1.4.1" ,
3
+ "compilerOptions" : {
4
+ "target" : " es5" ,
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
+ " ./classAddMember.ts"
17
+ ]
18
+ }
You can’t perform that action at this time.
0 commit comments