You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Shared types not built**: Run `tsc --build src/types` first
164
164
-**Circular dependencies**: Check imports between types and components
165
165
-**Missing types**: Ensure all TypeScript files have proper type annotations
166
+
-**Missing Vite types**: If you see `Property 'env' does not exist on type 'ImportMeta'`, the `vite-env.d.ts` file may be missing from the project root. This file should contain:
167
+
```typescript
168
+
/// <reference types="vite/client" />
169
+
170
+
interfaceImportMetaEnv {
171
+
readonly VITE_API_URL?:string;
172
+
}
173
+
174
+
interfaceImportMeta {
175
+
readonly env:ImportMetaEnv;
176
+
}
177
+
```
178
+
-**Missing Toast imports**: Components using `showToast` need to import and use the `useToast` hook:
0 commit comments