aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/vitest/import-meta.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vanilla/node_modules/vitest/import-meta.d.ts')
-rw-r--r--vanilla/node_modules/vitest/import-meta.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/vanilla/node_modules/vitest/import-meta.d.ts b/vanilla/node_modules/vitest/import-meta.d.ts
new file mode 100644
index 0000000..ee00ff5
--- /dev/null
+++ b/vanilla/node_modules/vitest/import-meta.d.ts
@@ -0,0 +1,5 @@
+/// <reference path="./importMeta.d.ts" />
+
+// https://github.com/microsoft/TypeScript/issues/45096
+// TypeScript has a bug that makes <reference types="vite/types/importMeta" />
+// not possible in userland. This file provides a workaround for now.