fix(es/types): Add jsc.experimental.keepImportAssertions to types (#9691)

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9687
This commit is contained in:
Donny/강동윤 2024-10-30 17:57:16 +09:00 committed by GitHub
parent 4d887d062b
commit 4b4dcfa4d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -638,6 +638,8 @@ export interface JscConfig {
/** /**
* Preserve `with` in imports and exports. * Preserve `with` in imports and exports.
*
* @deprecated Use `keepImportAssertions` instead.
*/ */
keepImportAttributes?: boolean; keepImportAttributes?: boolean;
@ -683,6 +685,11 @@ export interface JscConfig {
* Disable all lint rules. * Disable all lint rules.
*/ */
disableAllLints?: boolean; disableAllLints?: boolean;
/**
* Keep import assertions.
*/
keepImportAssertions?: boolean;
}; };
baseUrl?: string; baseUrl?: string;