Skip to content

fix(types): SourceNode.children should be (SourceNode | string)[] - #560

Open
user-Param wants to merge 1 commit into
mozilla:masterfrom
user-Param:fix/482-sourcenode-children-type-v2
Open

user-Param wants to merge 1 commit into
mozilla:masterfrom
user-Param:fix/482-sourcenode-children-type-v2

Conversation

@user-Param

Copy link
Copy Markdown

Fixes #482 - SourceNode.children was typed as SourceNode[] but the runtime allows strings. Updated the type definition to (SourceNode | string)[].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SourceNode.children type incorrect

2 participants