gristlabs / ts-interface-checker

Runtime library to validate data against TypeScript interfaces.
Apache License 2.0
323 stars 18 forks source link

Enforce unique type names in createCheckers #49

Open alexmojaki opened 3 years ago

alexmojaki commented 3 years ago

Basically I think this code should be the default behaviour: https://github.com/gristlabs/grist-core/blob/8c2bea0f739a39dc8bf7b2fb76c98d9e616835cc/app/plugin/TypeCheckers.ts#L22-L27

dsagal commented 3 years ago

Agreed!