Skip to content

Commit 7d011ce

Browse files
TsConfigJson: Add rewriteRelativeImportExtensions (#1262)
1 parent ad04bc5 commit 7d011ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/tsconfig-json.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,13 @@ export namespace TsConfigJson {
612612
*/
613613
removeComments?: boolean;
614614

615+
/**
616+
Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files.
617+
618+
@default false
619+
*/
620+
rewriteRelativeImportExtensions?: boolean;
621+
615622
/**
616623
Specifies the root directory of input files.
617624

0 commit comments

Comments
 (0)