Skip to content

Commit

Permalink
Update TS bindings output for variants (#1180)
Browse files Browse the repository at this point in the history
Updates our JCO submodule to include the changes in
NomicFoundation/jco#5. Includes one other change to fully integrate
these changes, which is to change `NodeVariant` to `NodeType` in
`codegen/../cst/index.mts` so that the expected imports align with the
new generated exports.

* [x] Depends on #1169
* [x] Depends on NomicFoundation/jco#5

Closes #1166 
Closes #1171
  • Loading branch information
mjoerussell authored Dec 12, 2024
1 parent 8eea9e5 commit 6a31d1b
Show file tree
Hide file tree
Showing 14 changed files with 234 additions and 27 deletions.
4 changes: 2 additions & 2 deletions crates/codegen/runtime/npm/package/src/runtime/cst/index.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export type EdgeLabel = generated.cst.EdgeLabel;

export type Node = generated.cst.Node;

export const NodeVariant = generated.cst.NodeVariant;
export type NodeVariant = generated.cst.NodeVariant;
export const NodeType = generated.cst.NodeType;
export type NodeType = generated.cst.NodeType;

export const NonterminalNode = generated.cst.NonterminalNode;
export type NonterminalNode = generated.cst.NonterminalNode;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6a31d1b

Please sign in to comment.