That way, when using fm-gofer and fm-mock together, you can declare the parameter passed into the mock FM script and it makes writing mocks easier, with more autocomplete.
One thing... I'm not sure if you can declare a type for a stringified JSON object and validate the various keys.
Reading this thread, this might be a bit beyond my current grasp of Typescript.
That way, when using fm-gofer and fm-mock together, you can declare the parameter passed into the mock FM script and it makes writing mocks easier, with more autocomplete.
One thing... I'm not sure if you can declare a type for a stringified JSON object and validate the various keys.
Reading this thread, this might be a bit beyond my current grasp of Typescript.