fluent.js
fluent.js copied to clipboard
[fluent-syntax] Calling `clone()` on a node should return a value with node's type, not `BaseNode`
The correct TS type here would be this:
https://github.com/projectfluent/fluent.js/blob/a68c20eaea45ae8f948570e6b2ac13f2f0306b5b/fluent-syntax/src/ast.ts#L50