-
-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
🙋 no/questionThis does not need any changesThis does not need any changes
Description
Type for Raw HTML
There's no type for raw
node.
Problem
In TypeScript, when try to push raw
type nodes (e.g. u('raw', 'some raw html')
) on to a hast tree, you will get a complier error, because raw
is not included in acceptable children types.
Expected behaviour
Should there be a Raw
type declared publicly?
Metadata
Metadata
Assignees
Labels
🙋 no/questionThis does not need any changesThis does not need any changes