ratchetdesigns / ts-bindgen

Generates wasm-bindgen rust code for typescript declarations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Panics with "Alias only expected as top-level type"

ctron opened this issue · comments

Trying to generate types for the monaco editor, I run into the following panic (after removing the negative enum value):

panicked at 'Alias only expected as top-level type', /work/ts-bindgen-gen/src/ir/flattened.rs:613:37

Thanks for this report. Unfortunately, I am not going to be able to investigate this soon but will update you as soon as I'm able to take a look.