mirror of
https://github.com/swc-project/swc.git
synced 2024-11-26 20:36:17 +03:00
fix(node-swc/types): Add isTypeOnly
to types (#4303)
This commit is contained in:
parent
4ed3838ad7
commit
1a48732e78
@ -1575,6 +1575,7 @@ export interface NamedImportSpecifier extends Node, HasSpan {
|
||||
type: "ImportSpecifier";
|
||||
local: Identifier;
|
||||
imported: Identifier | null;
|
||||
isTypeOnly?: boolean;
|
||||
}
|
||||
|
||||
export type ExportSpecifier =
|
||||
@ -1605,6 +1606,7 @@ export interface NamedExportSpecifier extends Node, HasSpan {
|
||||
* `Some(bar)` in `export { foo as bar }`
|
||||
*/
|
||||
exported: Identifier | null;
|
||||
isTypeOnly?: boolean;
|
||||
}
|
||||
|
||||
interface HasInterpreter {
|
||||
|
Loading…
Reference in New Issue
Block a user