mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 10:08:40 +08:00
Move Day.js plugin types import to global typings (#2954)
This commit is contained in:
parent
323b946a00
commit
0df8f92d05
1
framework/core/js/@types/global/index.d.ts
vendored
1
framework/core/js/@types/global/index.d.ts
vendored
@ -3,6 +3,7 @@ import Mithril from 'mithril';
|
||||
|
||||
// Other third-party libs
|
||||
import * as _dayjs from 'dayjs';
|
||||
import 'dayjs/plugin/relativeTime';
|
||||
import * as _$ from 'jquery';
|
||||
|
||||
// Globals from flarum/core
|
||||
|
@ -1,5 +1,4 @@
|
||||
import dayjs from 'dayjs';
|
||||
import 'dayjs/plugin/relativeTime';
|
||||
|
||||
/**
|
||||
* The `humanTime` utility converts a date to a localized, human-readable time-
|
||||
|
Loading…
x
Reference in New Issue
Block a user