Skip to content

Commit

Permalink
Remove vendored Vite importMeta.d.ts (#9149)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Nov 22, 2023
1 parent abf6012 commit 0fe3a7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 31 deletions.
5 changes: 5 additions & 0 deletions .changeset/short-deers-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Removes vendored Vite's `importMeta.d.ts` file in favour of Vite 5's new `vite/types/import-meta.d.ts` export
2 changes: 1 addition & 1 deletion packages/astro/client.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="./import-meta.d.ts" />
/// <reference types="vite/types/import-meta.d.ts" />

// eslint-disable-next-line @typescript-eslint/no-namespace
declare namespace App {
Expand Down
30 changes: 0 additions & 30 deletions packages/astro/import-meta.d.ts

This file was deleted.

0 comments on commit 0fe3a7e

Please sign in to comment.