first commit
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import { PluginFunc } from 'dayjs/esm'
|
||||
|
||||
declare const plugin: PluginFunc
|
||||
export = plugin
|
||||
|
||||
declare module 'dayjs/esm' {
|
||||
|
||||
export function isMoment(input: any): boolean
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
export default (function (o, c, f) {
|
||||
f.isMoment = function (input) {
|
||||
return f.isDayjs(input);
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user