增加基本项目配置
This commit is contained in:
20
node_modules/dayjs/plugin/toObject.d.ts
generated
vendored
Normal file
20
node_modules/dayjs/plugin/toObject.d.ts
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
import { PluginFunc } from 'dayjs'
|
||||
|
||||
declare const plugin: PluginFunc
|
||||
export = plugin
|
||||
|
||||
interface DayjsObject {
|
||||
years: number
|
||||
months: number
|
||||
date: number
|
||||
hours: number
|
||||
minutes: number
|
||||
seconds: number
|
||||
milliseconds: number
|
||||
}
|
||||
|
||||
declare module 'dayjs' {
|
||||
interface Dayjs {
|
||||
toObject(): DayjsObject
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user