Updating NPM dependencies
This commit is contained in:
2
node_modules/@babel/traverse/lib/path/conversion.js
generated
vendored
2
node_modules/@babel/traverse/lib/path/conversion.js
generated
vendored
@@ -127,7 +127,7 @@ function hoistFunctionEnvironment(fnPath, specCompliant = false, allowInsertArro
|
||||
static: false
|
||||
});
|
||||
});
|
||||
const inConstructor = thisEnvFn && thisEnvFn.node.kind === "constructor";
|
||||
const inConstructor = (thisEnvFn == null ? void 0 : thisEnvFn.node.kind) === "constructor";
|
||||
|
||||
if (thisEnvFn.isClassProperty()) {
|
||||
throw fnPath.buildCodeFrameError("Unable to transform arrow inside class property");
|
||||
|
||||
Reference in New Issue
Block a user