]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore(pinia): types when esm exports (#1443)
authorIU <yoyo930021@gmail.com>
Tue, 12 Jul 2022 09:18:53 +0000 (17:18 +0800)
committerGitHub <noreply@github.com>
Tue, 12 Jul 2022 09:18:53 +0000 (11:18 +0200)
packages/pinia/package.json

index e75c80567e795889f39194d72fb7e36a0734a4e0..eef913afab803d5514503c026334033dd5539084 100644 (file)
@@ -22,7 +22,8 @@
           "default": "./index.js"
         }
       },
-      "import": "./dist/pinia.mjs"
+      "import": "./dist/pinia.mjs",
+      "types": "./dist/pinia.d.ts"
     },
     "./package.json": "./package.json",
     "./dist/*": "./dist/*"