Skip to content

Commit

Permalink
Remove the Noop node from babel type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
sidntrivedi012 authored and nicolo-ribaudo committed Feb 21, 2021
1 parent bfd3f80 commit 834c0ea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/babel-types/src/definitions/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ import defineType, {
} from "./utils";
import { PLACEHOLDERS } from "./placeholders";

defineType("Noop", {
visitor: [],
});
if (!process.env.BABEL_8_BREAKING) {
defineType("Noop", {
visitor: [],
});
}

defineType("Placeholder", {
visitor: [],
Expand Down

0 comments on commit 834c0ea

Please sign in to comment.