From e4a770bb9529b18256ac20c68fdd919bc94afd9d Mon Sep 17 00:00:00 2001 From: Mike Powers Date: Wed, 14 Aug 2024 10:14:48 -0400 Subject: [PATCH] docs: add hint about vite-env.d.ts to README (#124) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e6b9a4..cfb59f4 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Then SVG files can be imported as React components: import Logo from "./logo.svg?react"; ``` -If you are using TypeScript, there is also a declaration helper for better type inference: +If you are using TypeScript, there is also a declaration helper for better type inference. Add the following to `vite-env.d.ts`: ```ts ///