@@ -4058,6 +4058,13 @@ declare namespace ts {
4058
4058
readonly includePackageJsonAutoImports?: "auto" | "on" | "off";
4059
4059
readonly provideRefactorNotApplicableReason?: boolean;
4060
4060
readonly jsxAttributeCompletionStyle?: "auto" | "braces" | "none";
4061
+ readonly includeInlayParameterNameHints?: "none" | "literals" | "all";
4062
+ readonly includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean;
4063
+ readonly includeInlayFunctionParameterTypeHints?: boolean;
4064
+ readonly includeInlayVariableTypeHints?: boolean;
4065
+ readonly includeInlayPropertyDeclarationTypeHints?: boolean;
4066
+ readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
4067
+ readonly includeInlayEnumMemberValueHints?: boolean;
4061
4068
}
4062
4069
/** Represents a bigint literal value without requiring bigint support */
4063
4070
export interface PseudoBigInt {
@@ -5882,15 +5889,6 @@ declare namespace ts {
5882
5889
/** @deprecated Use includeCompletionsWithInsertText */
5883
5890
includeInsertTextCompletions?: boolean;
5884
5891
}
5885
- interface InlayHintsOptions extends UserPreferences {
5886
- readonly includeInlayParameterNameHints?: "none" | "literals" | "all";
5887
- readonly includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean;
5888
- readonly includeInlayFunctionParameterTypeHints?: boolean;
5889
- readonly includeInlayVariableTypeHints?: boolean;
5890
- readonly includeInlayPropertyDeclarationTypeHints?: boolean;
5891
- readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
5892
- readonly includeInlayEnumMemberValueHints?: boolean;
5893
- }
5894
5892
type SignatureHelpTriggerCharacter = "," | "(" | "<";
5895
5893
type SignatureHelpRetriggerCharacter = SignatureHelpTriggerCharacter | ")";
5896
5894
interface SignatureHelpItemsOptions {
@@ -6694,7 +6692,7 @@ declare namespace ts {
6694
6692
cancellationToken: CancellationToken;
6695
6693
host: LanguageServiceHost;
6696
6694
span: TextSpan;
6697
- preferences: InlayHintsOptions ;
6695
+ preferences: UserPreferences ;
6698
6696
}
6699
6697
}
6700
6698
declare namespace ts {
@@ -9572,6 +9570,13 @@ declare namespace ts.server.protocol {
9572
9570
readonly jsxAttributeCompletionStyle?: "auto" | "braces" | "none";
9573
9571
readonly displayPartsForJSDoc?: boolean;
9574
9572
readonly generateReturnInDocTemplate?: boolean;
9573
+ readonly includeInlayParameterNameHints?: "none" | "literals" | "all";
9574
+ readonly includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean;
9575
+ readonly includeInlayFunctionParameterTypeHints?: boolean;
9576
+ readonly includeInlayVariableTypeHints?: boolean;
9577
+ readonly includeInlayPropertyDeclarationTypeHints?: boolean;
9578
+ readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
9579
+ readonly includeInlayEnumMemberValueHints?: boolean;
9575
9580
}
9576
9581
interface CompilerOptions {
9577
9582
allowJs?: boolean;
0 commit comments