File tree 34 files changed +272
-57
lines changed
34 files changed +272
-57
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' astro ' : patch
3
+ ---
4
+
5
+ Replaces vite/client types with astro/client
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 1
- /// <reference types="vite /client" />
1
+ /// <reference types="astro /client" />
2
2
3
3
interface ImportMetaEnv {
4
4
readonly DB_PASSWORD : string ;
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 12
12
"resolveJsonModule" : true ,
13
13
// Enable stricter transpilation for better output.
14
14
"isolatedModules" : true ,
15
- // Add type definitions for our Vite runtime.
16
- "types" : [" vite /client" ]
15
+ // Add type definitions for our Astro runtime.
16
+ "types" : [" astro /client" ]
17
17
}
18
18
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 12
12
"resolveJsonModule" : true ,
13
13
// Enable stricter transpilation for better output.
14
14
"isolatedModules" : true ,
15
- // Add type definitions for our Vite runtime.
16
- "types" : [" vite /client" ]
15
+ // Add type definitions for our Astro runtime.
16
+ "types" : [" astro /client" ]
17
17
}
18
18
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"resolveJsonModule" : true ,
10
10
// Enable stricter transpilation for better output.
11
11
"isolatedModules" : true ,
12
- // Add type definitions for our Vite runtime.
13
- "types" : [" vite /client" ]
12
+ // Add type definitions for our Astro runtime.
13
+ "types" : [" astro /client" ]
14
14
}
15
15
}
You can’t perform that action at this time.
0 commit comments