Skip to content

Commit

Permalink
docs: Fix typo in description of --typecheck.checker (tcs -> tsc) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-we authored Jun 3, 2024
1 parent 9ac8ff9 commit 041b9c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/cli-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
| `--disableConsoleIntercept` | Disable automatic interception of console logging (default: `false`) |
| `--typecheck.enabled` | Enable typechecking alongside tests (default: `false`) |
| `--typecheck.only` | Run only typecheck tests. This automatically enables typecheck (default: `false`) |
| `--typecheck.checker <name>` | Specify the typechecker to use. Available values are: "tcs" and "vue-tsc" and a path to an executable (default: `"tsc"`) |
| `--typecheck.checker <name>` | Specify the typechecker to use. Available values are: "tsc" and "vue-tsc" and a path to an executable (default: `"tsc"`) |
| `--typecheck.allowJs` | Allow JavaScript files to be typechecked. By default takes the value from tsconfig.json |
| `--typecheck.ignoreSourceErrors` | Ignore type errors from source files |
| `--typecheck.tsconfig <path>` | Path to a custom tsconfig file |
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/src/node/cli/cli-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export const cliOptionsConfig: VitestCLIOptions = {
description: 'Run only typecheck tests. This automatically enables typecheck (default: `false`)',
},
checker: {
description: 'Specify the typechecker to use. Available values are: "tcs" and "vue-tsc" and a path to an executable (default: `"tsc"`)',
description: 'Specify the typechecker to use. Available values are: "tsc" and "vue-tsc" and a path to an executable (default: `"tsc"`)',
argument: '<name>',
subcommands: null,
},
Expand Down

0 comments on commit 041b9c4

Please sign in to comment.