mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Use the fileName that is in scope.
This commit is contained in:
1 parent
0d233fdd17
commit
e5d0ffab15
1 file changed
+1
-1
@@ -4000,7 +4000,7 @@ module ts {
|
||||
let end = node.getEnd();
|
||||
|
||||
return {
|
||||
fileName: node.getSourceFile().fileName,
|
||||
fileName: sourceFile.fileName,
|
||||
textSpan: createTextSpanFromBounds(start, end),
|
||||
isDefinition: false,
|
||||
isWriteAccess: false,
|
||||
|
||||
Reference in new issue
Block a user