nuxi typecheck
typecheck 命令运行 vue-tsc 检查整个应用的类型。
Terminal
npx nuxi typecheck [ROOTDIR] [--cwd=<directory>] [--logLevel=<silent|info|verbose>]
typecheck
命令会运行 vue-tsc
来检查整个应用中的类型。
¥The typecheck
command runs vue-tsc
to check types throughout your app.
参数
¥Arguments
参数 | 描述 |
---|---|
ROOTDIR="." | 指定工作目录(默认值:. ) |
选项
¥Options
选项 | 默认 | 描述 |
---|---|---|
--cwd=<directory> | 指定工作目录,该目录优先于 ROOTDIR(默认值:. ) | |
--logLevel=<silent|info|verbose> | 指定构建时日志级别 |
:
了解更多关于如何在构建或开发时启用类型检查的信息。
¥Read more on how to enable type-checking at build or development time.
::