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:
overlookmotel 2024-06-10 19:53:35 +00:00
parent 4b2e3a705e
commit 509871f478

View file

@ -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,