Move client types into Astro (#3851)

* Move client types into Astro

* Adds a changeset

* Fix path to local client

* Reference vite/client in our HMR types

* Add back in the expect-error

* Update types comment
This commit is contained in:
Matthew Phillips
2022-07-11 08:12:18 -04:00
committed by GitHub
parent 16fdc01322
commit 21869a614a
34 changed files with 272 additions and 57 deletions

View File

@ -9,7 +9,7 @@
"resolveJsonModule": true,
// Enable stricter transpilation for better output.
"isolatedModules": true,
// Add type definitions for our Vite runtime.
"types": ["vite/client"]
// Add type definitions for our Astro runtime.
"types": ["astro/client"]
}
}