File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export const someObject = {
1919 someBoolean : true ,
2020 someFalse : false ,
2121 someFunction : ( ) => { console . log ( 'hello world' ) } ,
22- someFunction2 : ( ) => {
22+ anotherOne : ( ) => {
2323 // some comment
2424 /* some other comment */
2525 return some . object ?? 'default'
@@ -29,6 +29,16 @@ export const someObject = {
2929 [ 1 , 2 , 3 ] ,
3030 [ 4 , 5 , 6 , 7 , 8 , 9 , 10 ] ,
3131 ] ,
32+ someOtherNestedArray : [
33+ [
34+ 'some text' ,
35+ 2 ,
36+ console . log ,
37+ ( ) => console . log ( 'hello world' ) ,
38+ helloWorld ,
39+ ] ,
40+ [ 4 , 5 , 6 , 7 , 8 , 9 , 10 ] ,
41+ ] ,
3242 someComplexArray : [
3343 [
3444 { key : 'value' } ,
Original file line number Diff line number Diff line change @@ -13,32 +13,14 @@ export declare const someObject: {
1313 someBoolean : true ;
1414 someFalse : false ;
1515 someFunction : Function ;
16- someFunction2 : Function ;
17- someArray : [ 1 , 2 , 3 ] ;
18- someNestedArray : [
19- [ 1 , 2 , 3 ] ,
20- [ 4 , 5 , 6 , 7 , 8 , 9 , 10 ]
21- ] ;
22- someComplexArray : [
23- [ { key : 'value' } ] ,
24- [ { key2 : 'value2' } , 'test' , 1000 ] ,
25- [ 'some string' , Function , Function ]
26- ] ;
27- someObject : { key : 'value' } ;
28- someNestedObject : {
29- key : {
30- nestedKey : 'value' ;
31- } ;
32- otherKey : {
33- nestedKey : Function ;
34- nestedKey2 : Function ;
35- } ;
36- } ;
37- someNestedObjectArray : [
38- { key : 'value' } ,
39- { key2 : 'value2' }
40- ] ;
41- someOtherObject : unknown ;
16+ anotherOne : Function ;
17+ someArray : Array < any > ;
18+ someNestedArray : Array < any > ;
19+ someComplexArray : Array < any > ;
20+ someObject : Object ;
21+ someNestedObject : Object ;
22+ someNestedObjectArray : Array < any > ;
23+ someOtherObject : Object ;
4224 someInlineCall2 : Function ;
4325 someInlineCall3 : Function ;
4426} ;
You can’t perform that action at this time.
0 commit comments