增加基本项目配置
This commit is contained in:
13
node_modules/dayjs/plugin/relativeTime.d.ts
generated
vendored
Normal file
13
node_modules/dayjs/plugin/relativeTime.d.ts
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
import { PluginFunc, ConfigType } from 'dayjs'
|
||||
|
||||
declare const plugin: PluginFunc
|
||||
export = plugin
|
||||
|
||||
declare module 'dayjs' {
|
||||
interface Dayjs {
|
||||
fromNow(withoutSuffix?: boolean): string
|
||||
from(compared: ConfigType, withoutSuffix?: boolean): string
|
||||
toNow(withoutSuffix?: boolean): string
|
||||
to(compared: ConfigType, withoutSuffix?: boolean): string
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user