Skip to content

Commit e8d958c

Browse files
authored
Merge branch '15.1.x' into iminchev/fix-header-autosize-15.1.x
2 parents 1d738ba + 8b9e4cc commit e8d958c

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
@@ -342,7 +342,7 @@ export const getTypeDefinitionAtPosition =
342342
*/
343343
export const isMemberIgniteUI =
344344
(change: MemberChange, langServ: tss.LanguageService, entryPath: string, matchPosition: number): boolean => {
345-
const content = langServ.getProgram().getSourceFile(entryPath).getText();
345+
const content = langServ.getProgram().getSourceFile(entryPath).getFullText();
346346
matchPosition = shiftMatchPosition(matchPosition, content);
347347
const prevChar = content.substr(matchPosition - 1, 1);
348348
if (prevChar === SyntaxTokens.ClosingParenthesis) {

0 commit comments

Comments
 (0)