“TS2322: Type ‘Timeout’ is not assignable to type ‘number'” when running unit tests January 9, 2023 by Tarik You could try with using window.setTimeout instead of just setTimeout, this way the typescript one will be explicitly used