janela 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/react/files/src/vite-env.d.ts +7 -0
- package/templates/react/files/tsconfig.json +1 -0
- package/templates/solid/files/src/vite-env.d.ts +7 -0
- package/templates/solid/files/tsconfig.json +1 -0
- package/templates/svelte/files/src/vite-env.d.ts +7 -0
- package/templates/svelte/files/tsconfig.json +1 -0
- package/templates/vue/files/src/vite-env.d.ts +7 -0
- package/templates/vue/files/tsconfig.json +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
//
|
|
3
|
+
// Declares the modules Vite lets you import that TypeScript otherwise knows
|
|
4
|
+
// nothing about — `./styles.css` most immediately, plus `import.meta.env` and
|
|
5
|
+
// asset imports. Without it a side-effect CSS import is an error in any editor
|
|
6
|
+
// running `noUncheckedSideEffectImports` (TypeScript 5.6+), which is exactly
|
|
7
|
+
// what a red squiggle on line 1 of main.ts turns out to be.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
//
|
|
3
|
+
// Declares the modules Vite lets you import that TypeScript otherwise knows
|
|
4
|
+
// nothing about — `./styles.css` most immediately, plus `import.meta.env` and
|
|
5
|
+
// asset imports. Without it a side-effect CSS import is an error in any editor
|
|
6
|
+
// running `noUncheckedSideEffectImports` (TypeScript 5.6+), which is exactly
|
|
7
|
+
// what a red squiggle on line 1 of main.ts turns out to be.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
//
|
|
3
|
+
// Declares the modules Vite lets you import that TypeScript otherwise knows
|
|
4
|
+
// nothing about — `./styles.css` most immediately, plus `import.meta.env` and
|
|
5
|
+
// asset imports. Without it a side-effect CSS import is an error in any editor
|
|
6
|
+
// running `noUncheckedSideEffectImports` (TypeScript 5.6+), which is exactly
|
|
7
|
+
// what a red squiggle on line 1 of main.ts turns out to be.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
//
|
|
3
|
+
// Declares the modules Vite lets you import that TypeScript otherwise knows
|
|
4
|
+
// nothing about — `./styles.css` most immediately, plus `import.meta.env` and
|
|
5
|
+
// asset imports. Without it a side-effect CSS import is an error in any editor
|
|
6
|
+
// running `noUncheckedSideEffectImports` (TypeScript 5.6+), which is exactly
|
|
7
|
+
// what a red squiggle on line 1 of main.ts turns out to be.
|