mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
add comments to ImportDeclarationSpecifier (#484)
This commit is contained in:
parent
1182985bb0
commit
defba1567e
1 changed files with 4 additions and 0 deletions
|
|
@ -1698,8 +1698,12 @@ pub struct ImportDeclaration<'a> {
|
|||
#[derive(Debug, Hash)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize), serde(untagged))]
|
||||
pub enum ImportDeclarationSpecifier {
|
||||
/// import {imported} from "source"
|
||||
/// import {imported as local} from "source"
|
||||
ImportSpecifier(ImportSpecifier),
|
||||
/// import local from "source"
|
||||
ImportDefaultSpecifier(ImportDefaultSpecifier),
|
||||
/// import * as local from "source"
|
||||
ImportNamespaceSpecifier(ImportNamespaceSpecifier),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue