license import * as lsp from 'vscode-languageserver-protocol' ; export const GetComponentsWithTemplateFile = new lsp . RequestType < GetComponentsWithTemplateFileParams , lsp . Location [ ] , void > ( 'angular/getComponentsWithTemplateFile' ) ; export interface GetComponentsWithTemplateFileParams { textDocument : lsp . TextDocumentIdentifier ; } export const GetTemplateLocationForComponent = new lsp . RequestType < GetTemplateLocationForComponentParams , lsp . Location , void > ( 'angular/getTemplateLocationForComponent' ) ; export interface GetTemplateLocationForComponentParams { textDocument : lsp . TextDocumentIdentifier ; position : lsp . Position ; } export interface GetTcbParams { textDocument : lsp . TextDocumentIdentifier ; position : lsp . Position ; } export const GetTcbRequest = new lsp . RequestType < GetTcbParams , GetTcbResponse | null , void > ( 'angular/getTcb' ) ; export interface GetTcbResponse { uri : lsp . DocumentUri ; content : string ; selections : lsp . Range [ ] ; } export const IsInAngularProject = new lsp . RequestType < IsInAngularProjectParams , boolean | null , void > ( 'angular/isAngularCoreInOwningProject' ) ; export interface IsInAngularProjectParams { textDocument : lsp . TextDocumentIdentifier ; }