@@ -381,6 +381,7 @@ declare namespace FourSlashInterface {
381381 start : number ;
382382 length : number ;
383383 } , displayParts : ts . SymbolDisplayPart [ ] , documentation : ts . SymbolDisplayPart [ ] , tags : { name : string , text ?: string } [ ] | undefined ) : void ;
384+ getInlineHints ( expected : readonly VerifyInlineHintsOptions [ ] , span ?: TextSpan , preference ?: InlineHintsOptions ) ;
384385 getSyntacticDiagnostics ( expected : ReadonlyArray < Diagnostic > ) : void ;
385386 getSemanticDiagnostics ( expected : ReadonlyArray < Diagnostic > ) : void ;
386387 getSuggestionDiagnostics ( expected : ReadonlyArray < Diagnostic > ) : void ;
@@ -614,6 +615,11 @@ declare namespace FourSlashInterface {
614615 readonly importModuleSpecifierPreference ?: "shortest" | "project-relative" | "relative" | "non-relative" ;
615616 readonly importModuleSpecifierEnding ?: "minimal" | "index" | "js" ;
616617 }
618+ interface InlineHintsOptions extends UserPreferences {
619+ readonly includeInlineParameterName ?: boolean ;
620+ readonly includeInlineFunctionParameterType ?: boolean ;
621+ readonly includeInlineVariableType ?: boolean ;
622+ }
617623 interface CompletionsOptions {
618624 readonly marker ?: ArrayOrSingle < string | Marker > ;
619625 readonly isNewIdentifierLocation ?: boolean ;
@@ -711,6 +717,14 @@ declare namespace FourSlashInterface {
711717 readonly commands ?: ReadonlyArray < { } > ;
712718 }
713719
720+ export interface VerifyInlineHintsOptions {
721+ text : string ;
722+ position : number
723+ whitespaceBefore ?: boolean ;
724+ whitespaceAfter ?: boolean ;
725+ }
726+
727+
714728 interface VerifyNavigateToOptions {
715729 readonly pattern : string ;
716730 readonly fileName ?: string ;
0 commit comments