registration
This commit is contained in:
7
frontend/style/node_modules/date-fns/isFuture.d.ts
generated
vendored
7
frontend/style/node_modules/date-fns/isFuture.d.ts
generated
vendored
@@ -1,3 +1,4 @@
|
||||
import type { DateArg } from "./types.js";
|
||||
/**
|
||||
* @name isFuture
|
||||
* @category Common Helpers
|
||||
@@ -7,8 +8,6 @@
|
||||
* @description
|
||||
* Is the given date in the future?
|
||||
*
|
||||
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
||||
*
|
||||
* @param date - The date to check
|
||||
*
|
||||
* @returns The date is in the future
|
||||
@@ -18,6 +17,4 @@
|
||||
* const result = isFuture(new Date(2014, 11, 31))
|
||||
* //=> true
|
||||
*/
|
||||
export declare function isFuture<DateType extends Date>(
|
||||
date: DateType | number | string,
|
||||
): boolean;
|
||||
export declare function isFuture(date: DateArg<Date> & {}): boolean;
|
||||
|
||||
Reference in New Issue
Block a user