mirror of
https://github.com/danbulant/oxc
synced 2026-05-22 05:38:54 +00:00
Closes #5736. Introduce a `NONE` type which can be used for any `AstBuilder` method call param which expects an `IntoIn<'a, Something<'a>>`, where otherwise you have to provide a verbose type annotation. Before: ```rs ast.arrow_function_expression( SPAN, is_expression, is_async, None::<TSTypeParameterDeclaration>, params, None::<TSTypeAnnotation>, body, ) ``` After: ```rs ast.arrow_function_expression(SPAN, is_expression, is_async, NONE, params, NONE, body) ``` |
||
|---|---|---|
| .. | ||
| js | ||
| jsx | ||
| lexer | ||
| ts | ||
| context.rs | ||
| cursor.rs | ||
| diagnostics.rs | ||
| lib.rs | ||
| modifiers.rs | ||
| state.rs | ||