UNPKG

angular-web-store

Version:
17 lines (16 loc) 415 B
/** * Parse or format the given `val`. * * Options: * * - `long` verbose formatting [false] * * @param {String|Number} val * @param {Object} [options] * @throws {Error} throw an error if val is not a non-empty string or a number * @return {String|Number} * @api public */ declare function ms(val: string): number; declare function ms(val: number, options?: any): string; export { ms };