#4 make "node-babel-helper-is-void-0" an optional dependency

Open
opened 7 years ago by themusicgod1 · 0 comments

Seriously it's

module.exports = function(t) { return function isVoid0(expr) {

return (
  t.isUnaryExpression(expr, { operator: "void" }) &&
  t.isNumericLiteral(expr.argument, { value: 0 })
);

}; };

you don't need a whole bunch of dependency overhead for that bullshit.

Seriously it's module.exports = function(t) { return function isVoid0(expr) { return ( t.isUnaryExpression(expr, { operator: "void" }) && t.isNumericLiteral(expr.argument, { value: 0 }) ); }; }; you don't need a whole bunch of dependency overhead for that bullshit.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.