refactor: fix by beedback (#31248)

PR Close #31248
This commit is contained in:
Suguru Inatomi 2019-10-18 10:46:33 +09:00 committed by Matias Niemelä
parent bab740d793
commit e122d27176
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ const hiddenHtmlElements = {
};
const ANGULAR_ELEMENTS: ReadonlyArray<string> =
['ng-container', 'ng-content', 'ng-template'] as const ;
['ng-container', 'ng-content', 'ng-template'] ;
export function getTemplateCompletions(
templateInfo: AstResult, position: number): ts.CompletionEntry[] {

View File

@ -262,6 +262,7 @@ export enum DirectiveKind {
* ScriptElementKind for completion.
*/
export enum CompletionKind {
ANGULAR_ELEMENT = 'angular element',
ATTRIBUTE = 'attribute',
COMPONENT = 'component',
ELEMENT = 'element',
@ -274,7 +275,6 @@ export enum CompletionKind {
REFERENCE = 'reference',
TYPE = 'type',
VARIABLE = 'variable',
ANGULAR_ELEMENT = 'angular element'
}
/**