mirror of
https://github.com/swc-project/swc.git
synced 2024-11-25 13:38:10 +03:00
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:
parent
4d887d062b
commit
4b4dcfa4d8
@ -638,6 +638,8 @@ export interface JscConfig {
|
||||
|
||||
/**
|
||||
* Preserve `with` in imports and exports.
|
||||
*
|
||||
* @deprecated Use `keepImportAssertions` instead.
|
||||
*/
|
||||
keepImportAttributes?: boolean;
|
||||
|
||||
@ -683,6 +685,11 @@ export interface JscConfig {
|
||||
* Disable all lint rules.
|
||||
*/
|
||||
disableAllLints?: boolean;
|
||||
|
||||
/**
|
||||
* Keep import assertions.
|
||||
*/
|
||||
keepImportAssertions?: boolean;
|
||||
};
|
||||
|
||||
baseUrl?: string;
|
||||
|
Loading…
Reference in New Issue
Block a user