Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
node.predicate = null;
},
TypeCastExpression(path) {
let { node } = path;
do {
node = node.expression;
} while (t.isTypeCastExpression(node));
path.replaceWith(node);
},
},
undefined,
{},
undefined
);
traverse.clearCache();
}