marmelab / FakeRest

Patch fetch/XMLHttpRequest to fake a REST API server in the browser, based on JSON data.
MIT License
439 stars 48 forks source link

Refactor classes fields initialization #51

Closed djhi closed 1 year ago

djhi commented 1 year ago

This will make the diff for upcoming TS migration easier as TS requires that the class fields are declared before being initialized in the constructor