DXN array (native JS Array) — split into its own named alias
rather than inlined as DXNValue[] directly inside the union above:
TS's JSDoc @typedef circularity checker rejects a typedef whose
own body contains its own name (DXNValue[] inside DXNValue
itself), even though the equivalent mutual recursion through a
second name — this indirection — is fine and resolves correctly.
DXN
array(native JSArray) — split into its own named alias rather than inlined asDXNValue[]directly inside the union above: TS's JSDoc@typedefcircularity checker rejects a typedef whose own body contains its own name (DXNValue[]insideDXNValueitself), even though the equivalent mutual recursion through a second name — this indirection — is fine and resolves correctly.