diff --git a/packages/vitest/import-meta.d.ts b/packages/vitest/import-meta.d.ts
new file mode 100644
index 000000000000..ee00ff5d0481
--- /dev/null
+++ b/packages/vitest/import-meta.d.ts
@@ -0,0 +1,5 @@
+///
+
+// https://github.com/microsoft/TypeScript/issues/45096
+// TypeScript has a bug that makes
+// not possible in userland. This file provides a workaround for now.
diff --git a/packages/vitest/package.json b/packages/vitest/package.json
index 6b6e7ecb84dc..013ca8aecc8b 100644
--- a/packages/vitest/package.json
+++ b/packages/vitest/package.json
@@ -41,6 +41,9 @@
"./importMeta": {
"types": "./importMeta.d.ts"
},
+ "./import-meta": {
+ "types": "./import-meta.d.ts"
+ },
"./node": {
"types": "./dist/node.d.ts",
"default": "./dist/node.js"