优化订单

This commit is contained in:
gyq
2025-04-30 18:10:14 +08:00
parent 12c4fb3629
commit 8c1a1644be
921 changed files with 30238 additions and 3405 deletions

24
node_modules/dayjs/plugin/relativeTime.d.ts generated vendored Normal file
View File

@@ -0,0 +1,24 @@
import { PluginFunc, ConfigType } from 'dayjs'
declare interface RelativeTimeThreshold {
l: string
r?: number
d?: string
}
declare interface RelativeTimeOptions {
rounding?: (num: number) => number
thresholds?: RelativeTimeThreshold[]
}
declare const plugin: PluginFunc<RelativeTimeOptions>
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
}
}