UNPKG

286 BTypeScriptView Raw
1/**
2 * Left-pads the time component with zeroes.
3 *
4 * @param timeComponent The time component, will be coerced to a string.
5 * @param count The expected number of digits.
6 */
7declare function padTimeComponent(timeComponent: unknown, count?: number): string;
8export = padTimeComponent;