initial status
This commit is contained in:
20
node_modules/dayjs/esm/plugin/timezone/index.d.ts
generated
vendored
Normal file
20
node_modules/dayjs/esm/plugin/timezone/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
import { PluginFunc, ConfigType } from 'dayjs/esm'
|
||||
|
||||
declare const plugin: PluginFunc
|
||||
export = plugin
|
||||
|
||||
declare module 'dayjs/esm' {
|
||||
interface Dayjs {
|
||||
tz(timezone?: string, keepLocalTime?: boolean): Dayjs
|
||||
offsetName(type?: 'short' | 'long'): string | undefined
|
||||
}
|
||||
|
||||
interface DayjsTimezone {
|
||||
(date: ConfigType, timezone?: string): Dayjs
|
||||
(date: ConfigType, format: string, timezone?: string): Dayjs
|
||||
guess(): string
|
||||
setDefault(timezone?: string): void
|
||||
}
|
||||
|
||||
const tz: DayjsTimezone
|
||||
}
|
Reference in New Issue
Block a user