We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0161423 commit 0730b71Copy full SHA for 0730b71
2 files changed
lib/constants.d.ts
@@ -4,3 +4,8 @@ interface Translations {
4
}
5
6
declare const LOCALES: Translations[]
7
+
8
+declare module 'moment/min/moment-with-locales.js' {
9
+ import moment from 'moment'
10
+ export default moment
11
+}
lib/index.ts
@@ -1,4 +1,4 @@
1
-import moment from 'moment/min/moment-with-locales'
+import moment from 'moment/min/moment-with-locales.js'
2
import Gettext from 'node-gettext'
3
import { getLocale } from '@nextcloud/l10n'
0 commit comments