(str: string)
| 1 | export namespace Locale { |
| 2 | export function titlecase(str: string) { |
| 3 | return str.replace(/\b\w/g, (c) => c.toUpperCase()) |
| 4 | } |
| 5 | |
| 6 | export function time(input: number): string { |
| 7 | const date = new Date(input) |
nothing calls this directly
no outgoing calls
no test coverage detected