cypress-msw-interceptor icon indicating copy to clipboard operation
cypress-msw-interceptor copied to clipboard

feat: add types

Open wingy3181 opened this issue 2 years ago • 3 comments
trafficstars

Fixes #20

wingy3181 avatar Jan 17 '23 11:01 wingy3181

Thank you, used your index.d.ts outside the node_modules/cypress-msw-interceptor renamed as src/types/cypressMswInterceptor.d.ts ... Working well. Added // eslint-disable-next-line @typescript-eslint/no-unused-vars on top of the Subject = any line

myselfhimself avatar Mar 22 '23 12:03 myselfhimself

Note that ; are not needed in TypeScript, the VSCode auto-formatter I use even removes them by default.

myselfhimself avatar Mar 23 '23 10:03 myselfhimself

Since the project is in pure JS, I fear this PR will never be merged.. Or maybe in some documentation section

myselfhimself avatar Mar 23 '23 10:03 myselfhimself