hoeck / simple-runtypes

Small, efficient and extendable runtype library for Typescript
MIT License
114 stars 5 forks source link

rename `record` to `object` #69

Open hoeck opened 2 years ago

hoeck commented 2 years ago

Rename record to object because that seems to be the standard name for "interface" runtypes.

Drop the existing object runtype completely or rename it to plainObject or javascriptObject. Keep record an alias for object for a few versions.