oxc-transform npm package: allow options argument to isolatedDeclaration
to be optional?
#5871
Labels
C-bug
Category - Bug
isolatedDeclaration
to be optional?
#5871
#5170 added support for sourcemaps and a third "options" argument to
isolatedDeclaration
, but starting in v0.26.0 the third argument became required. If you omit the third argument you get:and if you pass in
{}
as the third argument you getThis differs from the
transform
function, where the third argument is optional and the default behavior is equivalent to passing in{sourcemap: false}
.The text was updated successfully, but these errors were encountered: