mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
chore(ast): add doc to TSExportAssignment and TSNamespaceExportDeclaration
This commit is contained in:
parent
028738f3a0
commit
8ca5c4ce2e
1 changed files with 6 additions and 0 deletions
|
|
@ -866,6 +866,9 @@ impl<'a> Modifiers<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Export Assignment in non-module files
|
||||
///
|
||||
/// `export = foo`
|
||||
#[derive(Debug, PartialEq, Hash)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize), serde(tag = "type", rename_all = "camelCase"))]
|
||||
pub struct TSExportAssignment<'a> {
|
||||
|
|
@ -874,6 +877,9 @@ pub struct TSExportAssignment<'a> {
|
|||
pub expression: Expression<'a>,
|
||||
}
|
||||
|
||||
/// Namespace Export Declaration in declaration files
|
||||
///
|
||||
/// `export as namespace foo`
|
||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize), serde(tag = "type", rename_all = "camelCase"))]
|
||||
pub struct TSNamespaceExportDeclaration {
|
||||
|
|
|
|||
Loading…
Reference in a new issue