fluent.js icon indicating copy to clipboard operation
fluent.js copied to clipboard

[fluent-syntax] Calling `clone()` on a node should return a value with node's type, not `BaseNode`

Open eemeli opened this issue 3 years ago • 0 comments

The correct TS type here would be this:

https://github.com/projectfluent/fluent.js/blob/a68c20eaea45ae8f948570e6b2ac13f2f0306b5b/fluent-syntax/src/ast.ts#L50

eemeli avatar Apr 28 '22 11:04 eemeli