mirror of
https://github.com/swc-project/swc.git
synced 2024-11-22 15:25:01 +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.
|
* 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user