mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
refactor(transformer): comment for unimplemented spec option in arrow fns transform (#3618)
Babel's arrow functions transform has a `spec` option which alters the behavior of the the transform significantly. https://babel.dev/docs/babel-plugin-transform-arrow-functions We don't yet support that option. Add a TODO comment to that effect.
This commit is contained in:
parent
4b2e3a705e
commit
509871f478
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ pub struct ArrowFunctionsOptions {
|
|||
///
|
||||
/// * <https://babeljs.io/docs/babel-plugin-transform-arrow-functions>
|
||||
/// * <https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-arrow-functions>
|
||||
//
|
||||
// TODO: The `spec` option is not currently supported. Add support for it.
|
||||
pub struct ArrowFunctions<'a> {
|
||||
ctx: Ctx<'a>,
|
||||
_options: ArrowFunctionsOptions,
|
||||
|
|
|
|||
Loading…
Reference in a new issue