Move global module definitions into types.d.ts
Closed this issue · 0 comments
birdofpreyru commented
e.g. somewhere in code
declare module global {
let mockFailsForgeRandomGetBytesMethod: boolean | undefined;
}
can be just this in types.d.ts
declare var mockFailsForgeRandomGetBytesMethod: boolean | undefined;