parent
bab740d793
commit
e122d27176
@ -29,7 +29,7 @@ const hiddenHtmlElements = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const ANGULAR_ELEMENTS: ReadonlyArray<string> =
|
const ANGULAR_ELEMENTS: ReadonlyArray<string> =
|
||||||
['ng-container', 'ng-content', 'ng-template'] as const ;
|
['ng-container', 'ng-content', 'ng-template'] ;
|
||||||
|
|
||||||
export function getTemplateCompletions(
|
export function getTemplateCompletions(
|
||||||
templateInfo: AstResult, position: number): ts.CompletionEntry[] {
|
templateInfo: AstResult, position: number): ts.CompletionEntry[] {
|
||||||
|
@ -262,6 +262,7 @@ export enum DirectiveKind {
|
|||||||
* ScriptElementKind for completion.
|
* ScriptElementKind for completion.
|
||||||
*/
|
*/
|
||||||
export enum CompletionKind {
|
export enum CompletionKind {
|
||||||
|
ANGULAR_ELEMENT = 'angular element',
|
||||||
ATTRIBUTE = 'attribute',
|
ATTRIBUTE = 'attribute',
|
||||||
COMPONENT = 'component',
|
COMPONENT = 'component',
|
||||||
ELEMENT = 'element',
|
ELEMENT = 'element',
|
||||||
@ -274,7 +275,6 @@ export enum CompletionKind {
|
|||||||
REFERENCE = 'reference',
|
REFERENCE = 'reference',
|
||||||
TYPE = 'type',
|
TYPE = 'type',
|
||||||
VARIABLE = 'variable',
|
VARIABLE = 'variable',
|
||||||
ANGULAR_ELEMENT = 'angular element'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user