-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3032 from Microsoft/supportedExtensions
unify file extension resolution logic
- Loading branch information
Showing
7 changed files
with
31 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
tests/baselines/reference/project/invalidRootFile/amd/invalidRootFile.errors.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
error TS6054: File 'a.t' must have extension '.ts' or '.d.ts'. | ||
error TS6054: File 'a.t' has unsupported extension. The only supported extensions are '.ts', '.d.ts'. | ||
error TS6053: File 'a.ts' not found. | ||
|
||
|
||
!!! error TS6054: File 'a.t' must have extension '.ts' or '.d.ts'. | ||
!!! error TS6054: File 'a.t' has unsupported extension. The only supported extensions are '.ts', '.d.ts'. | ||
!!! error TS6053: File 'a.ts' not found. |
4 changes: 2 additions & 2 deletions
4
tests/baselines/reference/project/invalidRootFile/node/invalidRootFile.errors.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
error TS6054: File 'a.t' must have extension '.ts' or '.d.ts'. | ||
error TS6054: File 'a.t' has unsupported extension. The only supported extensions are '.ts', '.d.ts'. | ||
error TS6053: File 'a.ts' not found. | ||
|
||
|
||
!!! error TS6054: File 'a.t' must have extension '.ts' or '.d.ts'. | ||
!!! error TS6054: File 'a.t' has unsupported extension. The only supported extensions are '.ts', '.d.ts'. | ||
!!! error TS6053: File 'a.ts' not found. |