]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[misc] ts: Fix issues when importing moment-with-locales
authorIskren Chernev <me@iskren.info>
Sun, 24 Dec 2023 11:11:27 +0000 (13:11 +0200)
committerIskren Chernev <me@iskren.info>
Sun, 24 Dec 2023 11:11:38 +0000 (13:11 +0200)
This is based on code from https://github.com/moment/moment/pull/5778

package.json

index 12696d03f35eec183b743dce31ee9d836142d8d6..5a0fe90b78bbf1b9d28358dd6fea67e62561dadd 100644 (file)
@@ -29,6 +29,9 @@
         ">=3.1": {
             "*": [
                 "ts3.1-typings/*"
+            ],
+            "min/moment-with-locales": [
+                "ts3.1-typings/moment.d.ts"
             ]
         }
     },