Skip to content

Commit 4b4dcfa

Browse files
authoredOct 30, 2024··
fix(es/types): Add jsc.experimental.keepImportAssertions to types (#9691)
**Related issue:** - Closes #9687
1 parent 4d887d0 commit 4b4dcfa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎packages/types/index.ts

+7
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,8 @@ export interface JscConfig {
638638

639639
/**
640640
* Preserve `with` in imports and exports.
641+
*
642+
* @deprecated Use `keepImportAssertions` instead.
641643
*/
642644
keepImportAttributes?: boolean;
643645

@@ -683,6 +685,11 @@ export interface JscConfig {
683685
* Disable all lint rules.
684686
*/
685687
disableAllLints?: boolean;
688+
689+
/**
690+
* Keep import assertions.
691+
*/
692+
keepImportAssertions?: boolean;
686693
};
687694

688695
baseUrl?: string;

0 commit comments

Comments
 (0)
Please sign in to comment.