eversport / intl-codegen

generate code and type definitions from translations
MIT License
15 stars 1 forks source link

`react.d.ts` is invalid when there are no translations #45

Closed y4nnick closed 5 years ago

y4nnick commented 5 years ago

After creating a new translation package without any translations the react.d.ts file includes the following line, which is not valid.

type LocalizedType =;

It should be: type LocalizedType = never;.