mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Use explicit extensions for imports within src (#58421)
This commit is contained in:
@@ -86,7 +86,7 @@ function buildInfoFileOutput(messageTable, inputFilePathRel) {
|
||||
"// <auto-generated />",
|
||||
`// generated from '${inputFilePathRel}'`,
|
||||
"",
|
||||
'import { DiagnosticCategory, DiagnosticMessage } from "./types";',
|
||||
'import { DiagnosticCategory, DiagnosticMessage } from "./types.js";',
|
||||
"",
|
||||
"function diag(code: number, category: DiagnosticCategory, key: string, message: string, reportsUnnecessary?: {}, elidedInCompatabilityPyramid?: boolean, reportsDeprecated?: {}): DiagnosticMessage {",
|
||||
" return { code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated };",
|
||||
|
||||
Reference in New Issue
Block a user