fumeapp / modeltyper

Generate TypeScript interfaces from Laravel Models
MIT License
136 stars 16 forks source link

Fix: Ensure invalid typescript properties are surrounded with quotes #76

Closed starter-dev closed 4 months ago

starter-dev commented 4 months ago

If the property is not a valid javascript identifier, a typescript error occurs.

Before: before

After: after

Changes

tcampbPPU commented 4 months ago

Thanks for the contributions!