function clearIntervalclearInterval(intervalId: Timeout | string | number | undefined): voidDeprecatedCancels a Timeout object created by setInterval(). ParametersintervalId: Timeout | string | number | undefinedReturn Typevoid