Skip to content

Commit

Permalink
Remove from visitorKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Feb 3, 2024
1 parent 675cf49 commit ba4c019
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/language-handlebars/visitor-keys.evaluate.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import { visitorKeys as glimmerVisitorKeys } from "@glimmer/syntax";

const {
// These node types present on `ElementNode`, but we don't care about them
// These node types presents on `ElementNode`, but we don't care about them
// https://github.com/glimmerjs/glimmer-vm/pull/1553
ElementStartNode,
ElementPartNode,
ElementEndNode,
ElementNameNode,

// This presents on `{Block,ElementNode}.blockParamNodes`, but we don't care about them
// https://github.com/glimmerjs/glimmer-vm/pull/1552
BlockParam,

...visitorKeys
} = glimmerVisitorKeys;

Expand Down
1 change: 0 additions & 1 deletion tests/unit/__snapshots__/visitor-keys.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,6 @@ exports[`visitor keys glimmer 1`] = `
"Block": [
"body",
],
"BlockParam": [],
"BlockStatement": [
"path",
"params",
Expand Down

0 comments on commit ba4c019

Please sign in to comment.