From af8473a3beaa1ab5b32600b8726b05a9f32a62ef Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Sun, 21 Sep 2025 15:02:14 +0000 Subject: [PATCH] docs(ast): document `JSDocUnknownType` (#13973) I wasn't sure what this AST node is when implementing ESTree AST in oxlint plugins. Document it. --- crates/oxc_ast/src/ast/ts.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/oxc_ast/src/ast/ts.rs b/crates/oxc_ast/src/ast/ts.rs index 6697dca4c0340..783fe7e544d44 100644 --- a/crates/oxc_ast/src/ast/ts.rs +++ b/crates/oxc_ast/src/ast/ts.rs @@ -1745,6 +1745,7 @@ pub struct JSDocNonNullableType<'a> { pub postfix: bool, } +/// `type T = (?)` #[ast(visit)] #[derive(Debug)] #[generate_derive(CloneIn, Dummy, TakeIn, GetSpan, GetSpanMut, ContentEq, ESTree)]