redguava / cliniko-api

The API for Cliniko
73 stars 39 forks source link

TypeScript Definition Files? #344

Open phil-lgr opened 3 years ago

phil-lgr commented 3 years ago

I'm basically writing definition files in .ts for each model.

I think it would help a lot to have the models in .d.ts format.. it could basically replace writing model representation like here https://github.com/redguava/cliniko-api/blob/master/sections/treatment_notes.md#treatment-note-content-schema