before-after-hook icon indicating copy to clipboard operation
before-after-hook copied to clipboard

TypeScript: "error" hook should permit to return value

Open gr2m opened this issue 4 years ago • 1 comments
trafficstars

See https://github.com/gr2m/before-after-hook/blob/45d19213bc085f08178a52fdac154e163f24688e/test/integration/error-test.js#L98-L113

The current types don't permit that, see image

gr2m avatar Apr 15 '21 16:04 gr2m

I pushed a failed TypeSCript test at #116

gr2m avatar Apr 15 '21 16:04 gr2m

done via https://github.com/gr2m/before-after-hook/pull/116

gr2m avatar Oct 04 '22 00:10 gr2m