mirror of
https://github.com/sern-handler/website
synced 2026-06-18 13:52:21 +00:00
17 lines
588 B
TypeScript
17 lines
588 B
TypeScript
import type * as vscode from 'vscode-languageserver-protocol';
|
|
import type { ServiceContext } from '../types';
|
|
export interface ServiceCodeLensData {
|
|
kind: 'normal';
|
|
uri: string;
|
|
original: Pick<vscode.CodeLens, 'data'>;
|
|
serviceIndex: number;
|
|
}
|
|
export interface ServiceReferencesCodeLensData {
|
|
kind: 'references';
|
|
sourceFileUri: string;
|
|
workerFileUri: string;
|
|
workerFileRange: vscode.Range;
|
|
serviceIndex: number;
|
|
}
|
|
export declare function register(context: ServiceContext): (uri: string, token?: vscode.CancellationToken) => Promise<vscode.CodeLens[]>;
|