Skip to content

Commit

Permalink
feat: add import-meta.d.ts (#14615)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Oct 14, 2023
1 parent f2aadb0 commit 598d423
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/vite/types/import-meta.d.ts
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 598d423

Please sign in to comment.