gristlabs / ts-interface-builder

Compile TypeScript interfaces into a description that allows runtime validation
Apache License 2.0
132 stars 28 forks source link

Ignore literal index signatures #13

Closed aleksanb closed 5 years ago

aleksanb commented 5 years ago

There's a bug currently where nested literal index signatures would emit invalid typescrit of the form mykey: {,}. This change makes it so that index signatures in type literals and interface definitions are treated the same.

Closes https://github.com/gristlabs/ts-interface-builder/issues/10.

Lucaber commented 5 years ago

Im running into the same problem, could this pr get merged?

dsagal commented 5 years ago

Merged and published! Thanks for the reminder!