diff --git a/src/runtime/motion/utils.ts b/src/runtime/motion/utils.ts index 2eab8baa2f..c334117348 100644 --- a/src/runtime/motion/utils.ts +++ b/src/runtime/motion/utils.ts @@ -1,3 +1,10 @@ -export function is_date(obj: any): obj is Date { - return Object.prototype.toString.call(obj) === '[object Date]'; +/** @param {any} obj + * @returns {boolean} + */ +export function is_date(obj) { + return Object.prototype.toString.call(obj) === '[object Date]'; } + + + +