File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ index.ts
Original file line number Diff line number Diff line change 11declare type NodeId = string ;
22declare type EdgeWeight = number ;
3- declare type EncodedEdge = string ;
43interface Serialized {
54 nodes : {
65 id : NodeId ;
@@ -31,4 +30,4 @@ declare function Graph(serialized?: Serialized): {
3130 serialize : ( ) => Serialized ;
3231 deserialize : ( serialized : Serialized ) => any ;
3332} ;
34- //# sourceMappingURL=index.d.ts.map
33+ export = Graph ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -396,4 +396,4 @@ function Graph(serialized?: Serialized) {
396396 // The returned graph instance.
397397 return graph ;
398398}
399- module . exports = Graph ;
399+ export = Graph ;
Original file line number Diff line number Diff line change 33 "allowJs" : false ,
44 "declaration" : true ,
55 "esModuleInterop" : true ,
6- "declarationMap" : true ,
76 "module" : " CommonJS" ,
87 "noImplicitAny" : true ,
98 "noImplicitReturns" : true ,
1211 "target" : " ES5" ,
1312 "strictFunctionTypes" : true ,
1413 "strictNullChecks" : true ,
15- "downlevelIteration" : true
14+ "downlevelIteration" : true ,
15+ "isolatedModules" : true
1616 },
1717 "file" : [" index.ts" ],
1818 "exclude" : [" node_modules" , " *.d.ts" ]
You can’t perform that action at this time.
0 commit comments