Skip to content

Commit

Permalink
refactor(language-service): Remove AttrInfo interface (#33380)
Browse files Browse the repository at this point in the history
It's no longer used and needed.

PR Close #33380
  • Loading branch information
kyliau authored and AndrewKushnir committed Oct 24, 2019
1 parent 73530a9 commit 93a0b1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions packages/language-service/src/common.ts
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion packages/language-service/src/completions.ts
Expand Up @@ -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';
Expand Down

0 comments on commit 93a0b1b

Please sign in to comment.