json-schema-to-typescript icon indicating copy to clipboard operation
json-schema-to-typescript copied to clipboard

Allow unicode characters in type name

Open zhangciwu opened this issue 4 years ago • 7 comments

https://github.com/bcherny/json-schema-to-typescript/blob/d898361ff973d3746ea695f1efce75c975061c6f/src/utils.ts#L164

The member of type name is restricted to only english letters (and some symbol) Typescript now allows unicode characters (doc link)

So, modify this function to allow unicode characters in type name, or as an option?

zhangciwu avatar Mar 04 '20 10:03 zhangciwu