refactor(language-service): Remove AttrInfo interface (#33380)

It's no longer used and needed.

PR Close #33380
This commit is contained in:
Keen Yee Liau 2019-10-24 11:48:09 -07:00 committed by Andrew Kushnir
parent 73530a9e25
commit 93a0b1ba13
2 changed files with 1 additions and 9 deletions

View File

@ -21,14 +21,6 @@ export interface AstResult {
template: TemplateSource;
}
export interface AttrInfo {
name: string;
input?: boolean;
output?: boolean;
template?: boolean;
fromHtml?: boolean;
}
export type SelectorInfo = {
selectors: CssSelector[],
map: Map<CssSelector, CompileDirectiveSummary>

View File

@ -9,7 +9,7 @@
import {AST, AstPath, Attribute, BoundDirectivePropertyAst, BoundElementPropertyAst, BoundEventAst, BoundTextAst, CssSelector, Element, ElementAst, ImplicitReceiver, NAMED_ENTITIES, Node as HtmlAst, NullTemplateVisitor, ParseSpan, PropertyRead, SelectorMatcher, TagContentType, Text, findNode, getHtmlTagDefinition, splitNsName} from '@angular/compiler';
import {getExpressionScope} from '@angular/compiler-cli/src/language_services';
import {AstResult, AttrInfo} from './common';
import {AstResult} from './common';
import {getExpressionCompletions} from './expressions';
import {attributeNames, elementNames, eventNames, propertyNames} from './html_info';
import * as ng from './types';