|
|
|
|
|
by gabes
1809 days ago
|
|
Yeah that’s fair. Not sure about you, but in the past I’ve struggled with keeping Jest module-level mocks in sync with their actual interface. Was playing around with how I could get around it and this is something I came up with. |
|
[0] https://www.typescriptlang.org/docs/handbook/utility-types.h...