Type 'Timeout' is not assignable to type 'number'. code example
Example: Type 'Timeout' is not assignable to type 'number'.
let timeoutId: null | ReturnType = null
...
timeoutId = setTimeout(...)
let timeoutId: null | ReturnType = null
...
timeoutId = setTimeout(...)