@@ -4556,6 +4556,7 @@ declare namespace ts {
45564556 getFormattingEditsAfterKeystroke ( fileName : string , position : number , key : string , options : FormatCodeOptions | FormatCodeSettings ) : TextChange [ ] ;
45574557 getDocCommentTemplateAtPosition ( fileName : string , position : number ) : TextInsertion | undefined ;
45584558 isValidBraceCompletionAtPosition ( fileName : string , position : number , openingBrace : number ) : boolean ;
4559+ getAutoCloseTagAtPosition ( fileName : string , position : number ) : string | undefined ;
45594560 getSpanOfEnclosingComment ( fileName : string , position : number , onlyMultiLine : boolean ) : TextSpan | undefined ;
45604561 toLineColumnOffset ?( fileName : string , position : number ) : LineAndCharacter ;
45614562 getCodeFixesAtPosition ( fileName : string , start : number , end : number , errorCodes : ReadonlyArray < number > , formatOptions : FormatCodeSettings , preferences : UserPreferences ) : ReadonlyArray < CodeFixAction > ;
@@ -5506,6 +5507,7 @@ declare namespace ts.server {
55065507 */
55075508declare namespace ts . server . protocol {
55085509 enum CommandTypes {
5510+ AutoCloseTag = "autoCloseTag" ,
55095511 Brace = "brace" ,
55105512 BraceCompletion = "braceCompletion" ,
55115513 GetSpanOfEnclosingComment = "getSpanOfEnclosingComment" ,
@@ -6175,6 +6177,15 @@ declare namespace ts.server.protocol {
61756177 */
61766178 openingBrace : string ;
61776179 }
6180+ interface AutoCloseTagRequest extends FileLocationRequest {
6181+ readonly command : CommandTypes . AutoCloseTag ;
6182+ readonly arguments : AutoCloseTagRequestArgs ;
6183+ }
6184+ interface AutoCloseTagRequestArgs extends FileLocationRequestArgs {
6185+ }
6186+ interface AutoCloseTagResponse extends Response {
6187+ readonly body : TextInsertion ;
6188+ }
61786189 /**
61796190 * @deprecated
61806191 * Get occurrences request; value of command field is
@@ -8463,6 +8474,7 @@ declare namespace ts.server {
84638474 private getSyntacticDiagnosticsSync ;
84648475 private getSemanticDiagnosticsSync ;
84658476 private getSuggestionDiagnosticsSync ;
8477+ private getAutoCloseTag ;
84668478 private getDocumentHighlights ;
84678479 private setCompilerOptionsForInferredProjects ;
84688480 private getProjectInfo ;
0 commit comments