We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed50a94 commit dd80288Copy full SHA for dd80288
packages/vitest/import-meta.d.ts
@@ -0,0 +1,5 @@
1
+/// <reference path="./importMeta.d.ts" />
2
+
3
+// https://github.com/microsoft/TypeScript/issues/45096
4
+// TypeScript has a bug that makes <reference types="vite/types/importMeta" />
5
+// not possible in userland. This file provides a workaround for now.
packages/vitest/package.json
@@ -41,6 +41,9 @@
41
"./importMeta": {
42
"types": "./importMeta.d.ts"
43
},
44
+ "./import-meta": {
45
+ "types": "./import-meta.d.ts"
46
+ },
47
"./node": {
48
"types": "./dist/node.d.ts",
49
"default": "./dist/node.js"
0 commit comments