File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "lib" : [
4- " ES2021"
5- ],
3+ "lib" : [" es2023" ],
64 "module" : " NodeNext" ,
75 "moduleResolution" : " NodeNext" ,
8- "target" : " ES2021 " ,
6+ "target" : " es2023 " ,
97 "rootDir" : " src" ,
108 "outDir" : " dist" ,
119 "sourceMap" : true ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export interface SessionActions extends inspector.SessionActions {
1111}
1212
1313export class Session extends inspector . Session < SessionEvents > {
14- public readonly id : string = ` ${ Session . _nextSessionId ++ } ` ;
14+ public readonly id : string ;
1515 private static _nextSessionId = 0 ;
1616 private _connected = false ;
1717 // private _timelineEvents: string[] | undefined;
@@ -21,6 +21,7 @@ export class Session extends inspector.Session<SessionEvents> {
2121
2222 constructor ( ) {
2323 super ( ) ;
24+ this . id = `${ Session . _nextSessionId ++ } ` ;
2425 this . on ( "profileCaptured" , ( profile : Profiler . Profile ) => {
2526 this . onProfileCaptured ( profile ) ;
2627 } ) ;
Original file line number Diff line number Diff line change 22 "compilerOptions" : {
33 "module" : " NodeNext" ,
44 "moduleResolution" : " NodeNext" ,
5- "target" : " es2021 " ,
6- "lib" : [" es2021 " ],
5+ "target" : " es2023 " ,
6+ "lib" : [" es2023 " ],
77 "types" : [" node" ],
88 "composite" : true ,
99 "declaration" : true ,
You can’t perform that action at this time.
0 commit comments