mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Merge remote-tracking branch 'andrewbranch/update-ts' into feat/updates
This commit is contained in:
commit
db0486c06e
1 changed files with 13 additions and 0 deletions
|
|
@ -14,6 +14,19 @@ import {
|
|||
} from './monaco.contribution';
|
||||
import { Uri, worker } from '../../fillers/monaco-editor-core';
|
||||
|
||||
declare module './lib/typescriptServices' {
|
||||
// Removed in TS 4.7 and merged into UserPreferences
|
||||
export interface InlayHintsOptions extends ts.UserPreferences {
|
||||
readonly includeInlayParameterNameHints?: 'none' | 'literals' | 'all';
|
||||
readonly includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean;
|
||||
readonly includeInlayFunctionParameterTypeHints?: boolean;
|
||||
readonly includeInlayVariableTypeHints?: boolean;
|
||||
readonly includeInlayPropertyDeclarationTypeHints?: boolean;
|
||||
readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
|
||||
readonly includeInlayEnumMemberValueHints?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Loading a default lib as a source file will mess up TS completely.
|
||||
* So our strategy is to hide such a text model from TS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue