Skip to content

Commit

Permalink
docs: rephrase configuration of Client Types (#12663)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddie-dunn committed Mar 30, 2023
1 parent 20b8ef4 commit 363fa31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Vite's default types are for its Node.js API. To shim the environment of client
/// <reference types="vite/client" />
```

Also, you can add `vite/client` to `compilerOptions.types` of your `tsconfig`:
Alternatively, you can add `vite/client` to `compilerOptions.types` inside `tsconfig.json`:

```json
{
Expand Down

0 comments on commit 363fa31

Please sign in to comment.