You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Typescript updates (#9658)
* Typescript updates * Update @types/node * Fix more types
This commit is contained in:
committed by
GitHub
parent
baaa9f5dd2
commit
d258402186
@ -21,7 +21,7 @@ import fetch from 'node-fetch';
|
||||
// jest 27 removes setImmediate from jsdom
|
||||
// polyfill until setImmediate use in client can be removed
|
||||
// @ts-ignore - we know the contract is wrong. That's why we're stubbing it.
|
||||
global.setImmediate = callback => setTimeout(callback, 0);
|
||||
global.setImmediate = callback => window.setTimeout(callback, 0);
|
||||
|
||||
// Stub ResizeObserver
|
||||
// @ts-ignore - we know it's a duplicate (that's why we're stubbing it)
|
||||
|
Reference in New Issue
Block a user