diff --git a/docs/guide/api-hmr.md b/docs/guide/api-hmr.md index 63bfa79957a8bc..5fe48b118d6dfb 100644 --- a/docs/guide/api-hmr.md +++ b/docs/guide/api-hmr.md @@ -169,7 +169,7 @@ if (import.meta.hot) { ## `hot.prune(cb)` -Register a callback that will call when the module is no longer imported on the page. Compared to `hot.dispose`, this can be used if the source code cleans up side-effects by itself on updates and you only need to clean-up when it's removed from the page. Vite currently uses this for `.css` imports. +Register a callback that will be called when the module is no longer imported on the page. Compared to `hot.dispose`, this can be used if the source code cleans up side-effects by itself on updates and you only need to clean-up when it's removed from the page. Vite currently uses this for `.css` imports. ```js twoslash import 'vite/client' diff --git a/docs/guide/api-javascript.md b/docs/guide/api-javascript.md index abbedb6a0b4b93..c46886251f9106 100644 --- a/docs/guide/api-javascript.md +++ b/docs/guide/api-javascript.md @@ -1,6 +1,6 @@ # JavaScript API -Vite's JavaScript APIs are fully typed, and it's recommended to use TypeScript or enable JS type checking in VS Code to leverage the intellisense and validation. +Vite's JavaScript APIs are fully typed, and it's recommended to use TypeScript or enable JS type checking in VS Code to leverage the IntelliSense and validation. ## `createServer` diff --git a/docs/guide/api-plugin.md b/docs/guide/api-plugin.md index 0a06868a4ac31e..b2a3b35ce7d843 100644 --- a/docs/guide/api-plugin.md +++ b/docs/guide/api-plugin.md @@ -532,7 +532,7 @@ Vite plugins can also provide hooks that serve Vite-specific purposes. These hoo ## Plugin Context Meta -For plugin hooks that has access to the plugin context, Vite exposes additional properties on `this.meta`: +For plugin hooks that have access to the plugin context, Vite exposes additional properties on `this.meta`: - `this.meta.viteVersion`: The current Vite version string (e.g. `"8.0.0"`). @@ -853,7 +853,7 @@ export default defineConfig({ Internally, vite infers the type of a payload from the `CustomEventMap` interface, it is possible to type custom events by extending the interface: :::tip Note -Make sure to include the `.d.ts` extension when specifying TypeScript declaration files. Otherwise, Typescript may not know which file the module is trying to extend. +Make sure to include the `.d.ts` extension when specifying TypeScript declaration files. Otherwise, TypeScript may not know which file the module is trying to extend. ::: ```ts [events.d.ts]