File tree 1 file changed +3
-2
lines changed
packages/vscode-js-profile-core/src
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
11
11
ProviderResult ,
12
12
TextDocument ,
13
13
} from 'vscode' ;
14
+ import { INode } from './common/model' ;
14
15
import { DownloadFileProvider } from './download-file-provider' ;
15
16
import { lowerCaseInsensitivePath } from './path' ;
16
17
import { ProfileAnnotations } from './profileAnnotations' ;
@@ -20,7 +21,7 @@ import { ProfileAnnotations } from './profileAnnotations';
20
21
*/
21
22
export class ProfileCodeLensProvider implements CodeLensProvider {
22
23
private readonly changeEmitter = new EventEmitter < void > ( ) ;
23
- private lenses ?: ProfileAnnotations ;
24
+ private lenses ?: ProfileAnnotations < { } , INode > ;
24
25
25
26
/**
26
27
* @inheritdoc
@@ -31,7 +32,7 @@ export class ProfileCodeLensProvider implements CodeLensProvider {
31
32
* Updates the set of lenses currently being displayed.
32
33
*/
33
34
// eslint-disable-next-line @typescript-eslint/no-explicit-any
34
- public registerLenses ( lenses : ProfileAnnotations ) : Disposable {
35
+ public registerLenses ( lenses : ProfileAnnotations < { } , INode > ) : Disposable {
35
36
commands . executeCommand ( 'setContext' , 'jsProfileVisualizer.hasCodeLenses' , true ) ;
36
37
this . lenses = lenses ;
37
38
You can’t perform that action at this time.
0 commit comments