Skip to content

Commit

Permalink
fixup! feat(language-service): add support for text replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
ayazhafiz committed Oct 26, 2019
1 parent e519471 commit fd03f86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/language-service/src/completions.ts
Expand Up @@ -10,7 +10,7 @@ import {AST, AstPath, Attribute, BoundDirectivePropertyAst, BoundElementProperty
import {getExpressionScope} from '@angular/compiler-cli/src/language_services';

import {AstResult} from './common';
import {findAstAt, getExpressionCompletions} from './expressions';
import {getExpressionCompletions} from './expressions';
import {attributeNames, elementNames, eventNames, propertyNames} from './html_info';
import {InlineTemplate} from './template';
import * as ng from './types';
Expand Down
2 changes: 1 addition & 1 deletion packages/language-service/src/expressions.ts
Expand Up @@ -14,7 +14,7 @@ import {inSpan} from './utils';

type AstPath = AstPathBase<AST>;

export function findAstAt(ast: AST, position: number, excludeEmpty: boolean = false): AstPath {
function findAstAt(ast: AST, position: number, excludeEmpty: boolean = false): AstPath {
const path: AST[] = [];
const visitor = new class extends NullAstVisitor {
visit(ast: AST) {
Expand Down

0 comments on commit fd03f86

Please sign in to comment.