Skip to content

Commit d75c9ea

Browse files
authored
Merge branch '16.1.x' into ibarakov/feat-13524-master
2 parents 9d89681 + a813fb2 commit d75c9ea

File tree

1 file changed

+1
-1
lines changed
  • projects/igniteui-angular/migrations/common

1 file changed

+1
-1
lines changed

projects/igniteui-angular/migrations/common/tsUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export const getTypeDefinitionAtPosition =
349349
*/
350350
export const isMemberIgniteUI =
351351
(change: MemberChange, langServ: tss.LanguageService, entryPath: string, matchPosition: number): boolean => {
352-
const content = langServ.getProgram().getSourceFile(entryPath).getText();
352+
const content = langServ.getProgram().getSourceFile(entryPath).getFullText();
353353
matchPosition = shiftMatchPosition(matchPosition, content);
354354
const prevChar = content.substr(matchPosition - 1, 1);
355355
if (prevChar === SyntaxTokens.ClosingParenthesis) {

0 commit comments

Comments
 (0)