city41 / sromcrom

Graphics pipeline tool for Neo Geo development
GNU General Public License v3.0
11 stars 2 forks source link

Statically type and validate the JSON input format #12

Closed city41 closed 1 year ago

city41 commented 1 year ago

Today the json input format is simply defined as Record<string, unknown>. Statically typing it would help a lot. Also validate the input json meets the type at runtime.

city41 commented 1 year ago

implemented in 0.4.0