mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
chore(bindings): Update types (#8912)
This commit is contained in:
parent
a9bab833ba
commit
f1c2550d89
@ -672,7 +672,7 @@ export interface TsParserConfig {
|
||||
*/
|
||||
decorators?: boolean;
|
||||
/**
|
||||
* Defaults to `false`
|
||||
* @deprecated Always true because it's in ecmascript spec.
|
||||
*/
|
||||
dynamicImport?: boolean;
|
||||
}
|
||||
@ -740,9 +740,29 @@ export interface EsParserConfig {
|
||||
*/
|
||||
topLevelAwait?: boolean;
|
||||
/**
|
||||
* Defaults to `false`
|
||||
* @deprecated An alias of `importAttributes`
|
||||
*/
|
||||
importAssertions?: boolean;
|
||||
/**
|
||||
* Defaults to `false`
|
||||
*/
|
||||
importAttributes?: boolean;
|
||||
/**
|
||||
* Defaults to `false`
|
||||
*/
|
||||
allowSuperOutsideMethod?: boolean;
|
||||
/**
|
||||
* Defaults to `false`
|
||||
*/
|
||||
allowReturnOutsideFunction?: boolean;
|
||||
/**
|
||||
* Defaults to `false`
|
||||
*/
|
||||
autoAccessors?: boolean;
|
||||
/**
|
||||
* Defaults to `false`
|
||||
*/
|
||||
explicitResourceManagement?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user