The signature of the hot() and cold() functions changed between versions 3.0.6 and 3.1.0.
It changed from:
cold(marbles: string, values?: any, error?: any):
to:
cold(marbles: string, values?: object, error?: object)
The any => object change can cause type errors