use oxc_span::Span;
#[cfg(feature = "serde")]
use serde::Serialize;
use crate::ast::TSType;
#[derive(Debug, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize), serde(tag = "type", rename_all = "camelCase"))]
pub struct JSDocNullableType<'a> {
#[cfg_attr(feature = "serde", serde(flatten))]
pub span: Span,
pub type_annotation: TSType<'a>,
pub postfix: bool,
}
#[derive(Debug, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize), serde(tag = "type", rename_all = "camelCase"))]
pub struct JSDocUnknownType {
#[cfg_attr(feature = "serde", serde(flatten))]
pub span: Span,
}