UNPKG

@finsweet/ts-utils

Version:

Typescript utils for custom Webflow projects.

7 lines (6 loc) 252 B
/** * Extracts the publish date of a Webflow site * @returns A Date object, if found. * @param page The page to get the publish date from. Defaults to the current page. */ export declare const getPublishDate: (page?: Document) => Date | undefined;