UNPKG

@nacelle/compatibility-connector

Version:

Connect @nacelle/client-js-sdk to Nacelle's v2 back end with minimal code changes

6 lines (5 loc) 235 B
/** * @param input A date string * @returns a UNIX timestamp, or the original `input` if a UNIX timestamp could not be created from the `input`. */ export declare function toUnixTimestamp(input: string | unknown): number | unknown;