mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Add inlay hints support
This commit is contained in:
parent
dda62a58b7
commit
f40d79d54d
5 changed files with 88 additions and 2 deletions
6
monaco.d.ts
vendored
6
monaco.d.ts
vendored
|
|
@ -413,6 +413,12 @@ declare namespace monaco.languages.typescript {
|
|||
errorCodes: number[],
|
||||
formatOptions: any
|
||||
): Promise<ReadonlyArray<any>>;
|
||||
/**
|
||||
* Get inlay hints in the range of the file.
|
||||
* @param fileName
|
||||
* @returns `Promise<typescript.InlayHint[]>`
|
||||
*/
|
||||
provideInlayHints(fileName: string, start: number, end: number): Promise<ReadonlyArray<any>>;
|
||||
}
|
||||
export const typescriptVersion: string;
|
||||
export const typescriptDefaults: LanguageServiceDefaults;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue