Limit gluitnum type understanding to the current file
MangelMaxime opened this issue · comments
Maxime Mangel commented
Currently, it happens that Glutinum is going to try to understand types coming from Node API or Browser API.
This is problematic because Glutinum does not support all of TypeScript syntax and crash in such cases. Also, I am not sure if there is a usage for representing the AST up to this level.
export type Result = ReadonlyArray<string> | string
Error while reading type node in:
/node_modules/typescript/lib/lib.es5.d.ts(4,10778)
Unsupported kind 196
--- Text ---
(T|ConcatArray<T>)
---
--- Parent text ---
(T|ConcatArray<T>)[]
---