summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/basics/tsconfig.json4
-rw-r--r--examples/blog-multiple-authors/tsconfig.json4
-rw-r--r--examples/blog/tsconfig.json4
-rw-r--r--examples/docs/tsconfig.json4
-rw-r--r--examples/env-vars/src/env.d.ts2
-rw-r--r--examples/env-vars/tsconfig.json4
-rw-r--r--examples/framework-alpine/tsconfig.json4
-rw-r--r--examples/framework-lit/tsconfig.json4
-rw-r--r--examples/framework-multiple/tsconfig.json4
-rw-r--r--examples/framework-preact/tsconfig.json4
-rw-r--r--examples/framework-react/tsconfig.json4
-rw-r--r--examples/framework-solid/tsconfig.json4
-rw-r--r--examples/framework-svelte/tsconfig.json4
-rw-r--r--examples/framework-vue/tsconfig.json4
-rw-r--r--examples/integrations-playground/tsconfig.json4
-rw-r--r--examples/minimal/tsconfig.json4
-rw-r--r--examples/non-html-pages/tsconfig.json4
-rw-r--r--examples/portfolio/tsconfig.json4
-rw-r--r--examples/ssr/tsconfig.json4
-rw-r--r--examples/starter/tsconfig.json4
-rw-r--r--examples/subpath/tsconfig.json4
-rw-r--r--examples/with-markdown-plugins/tsconfig.json4
-rw-r--r--examples/with-markdown-shiki/tsconfig.json4
-rw-r--r--examples/with-markdown/tsconfig.json4
-rw-r--r--examples/with-mdx/tsconfig.json4
-rw-r--r--examples/with-nanostores/tsconfig.json4
-rw-r--r--examples/with-tailwindcss/tsconfig.json4
-rw-r--r--examples/with-vite-plugin-pwa/tsconfig.json4
28 files changed, 55 insertions, 55 deletions
diff --git a/examples/basics/tsconfig.json b/examples/basics/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/basics/tsconfig.json
+++ b/examples/basics/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/blog-multiple-authors/tsconfig.json b/examples/blog-multiple-authors/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/blog-multiple-authors/tsconfig.json
+++ b/examples/blog-multiple-authors/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/blog/tsconfig.json b/examples/blog/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/blog/tsconfig.json
+++ b/examples/blog/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/docs/tsconfig.json b/examples/docs/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/docs/tsconfig.json
+++ b/examples/docs/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/env-vars/src/env.d.ts b/examples/env-vars/src/env.d.ts
index 1cc8ccabc..35cb37076 100644
--- a/examples/env-vars/src/env.d.ts
+++ b/examples/env-vars/src/env.d.ts
@@ -1,4 +1,4 @@
-/// <reference types="vite/client" />
+/// <reference types="astro/client" />
interface ImportMetaEnv {
readonly DB_PASSWORD: string;
diff --git a/examples/env-vars/tsconfig.json b/examples/env-vars/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/env-vars/tsconfig.json
+++ b/examples/env-vars/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/framework-alpine/tsconfig.json b/examples/framework-alpine/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/framework-alpine/tsconfig.json
+++ b/examples/framework-alpine/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/framework-lit/tsconfig.json b/examples/framework-lit/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/framework-lit/tsconfig.json
+++ b/examples/framework-lit/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/framework-multiple/tsconfig.json b/examples/framework-multiple/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/framework-multiple/tsconfig.json
+++ b/examples/framework-multiple/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/framework-preact/tsconfig.json b/examples/framework-preact/tsconfig.json
index 8c4c4bb42..be8e3ea96 100644
--- a/examples/framework-preact/tsconfig.json
+++ b/examples/framework-preact/tsconfig.json
@@ -12,7 +12,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"]
}
}
diff --git a/examples/framework-react/tsconfig.json b/examples/framework-react/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/framework-react/tsconfig.json
+++ b/examples/framework-react/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/framework-solid/tsconfig.json b/examples/framework-solid/tsconfig.json
index 3aae33ef4..45d5b5d48 100644
--- a/examples/framework-solid/tsconfig.json
+++ b/examples/framework-solid/tsconfig.json
@@ -12,7 +12,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"]
}
}
diff --git a/examples/framework-svelte/tsconfig.json b/examples/framework-svelte/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/framework-svelte/tsconfig.json
+++ b/examples/framework-svelte/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/framework-vue/tsconfig.json b/examples/framework-vue/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/framework-vue/tsconfig.json
+++ b/examples/framework-vue/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/integrations-playground/tsconfig.json b/examples/integrations-playground/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/integrations-playground/tsconfig.json
+++ b/examples/integrations-playground/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/minimal/tsconfig.json b/examples/minimal/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/minimal/tsconfig.json
+++ b/examples/minimal/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/non-html-pages/tsconfig.json b/examples/non-html-pages/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/non-html-pages/tsconfig.json
+++ b/examples/non-html-pages/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/portfolio/tsconfig.json b/examples/portfolio/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/portfolio/tsconfig.json
+++ b/examples/portfolio/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/ssr/tsconfig.json b/examples/ssr/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/ssr/tsconfig.json
+++ b/examples/ssr/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/starter/tsconfig.json b/examples/starter/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/starter/tsconfig.json
+++ b/examples/starter/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/subpath/tsconfig.json b/examples/subpath/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/subpath/tsconfig.json
+++ b/examples/subpath/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/with-markdown-plugins/tsconfig.json b/examples/with-markdown-plugins/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/with-markdown-plugins/tsconfig.json
+++ b/examples/with-markdown-plugins/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/with-markdown-shiki/tsconfig.json b/examples/with-markdown-shiki/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/with-markdown-shiki/tsconfig.json
+++ b/examples/with-markdown-shiki/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/with-markdown/tsconfig.json b/examples/with-markdown/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/with-markdown/tsconfig.json
+++ b/examples/with-markdown/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/with-mdx/tsconfig.json b/examples/with-mdx/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/with-mdx/tsconfig.json
+++ b/examples/with-mdx/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/with-nanostores/tsconfig.json b/examples/with-nanostores/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/with-nanostores/tsconfig.json
+++ b/examples/with-nanostores/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/with-tailwindcss/tsconfig.json b/examples/with-tailwindcss/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/with-tailwindcss/tsconfig.json
+++ b/examples/with-tailwindcss/tsconfig.json
@@ -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"]
}
}
diff --git a/examples/with-vite-plugin-pwa/tsconfig.json b/examples/with-vite-plugin-pwa/tsconfig.json
index 7ac81809a..4db6ee701 100644
--- a/examples/with-vite-plugin-pwa/tsconfig.json
+++ b/examples/with-vite-plugin-pwa/tsconfig.json
@@ -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"]
}
}