mock-server / mockserver-node

Node.js module and grunt plugin to start and stop MockServer and MockServer Proxy
Apache License 2.0
44 stars 15 forks source link

Types for mockserver-node module #79

Open brcros opened 1 year ago

brcros commented 1 year ago

Typescript for the the module mockserver-node, in order to launch mockserver server using TS in strict mode.

I just tried to compile and run mockserver-node with TS in strict mode ( Compiler options : strict : true), and it is not so easy , especially when using cucumber that doesn't take account of added customized types.

The better way should be to have the TS types embedded into module, as the mockserver-client has.

Alternative, should be to have @types mockserver-node available... Another alternative, to have the mockserver-node included into mockserver- client ( as java version is made ) as this last is typescript ready.

telion2 commented 1 year ago

+1. +1 +1 Very much needed.