Sávio CostaS
Convex Community8mo ago
3 replies
Sávio Costa

What is the difference between "--typecheck=try" (the default) and "--typecheck=enable"?

I was reading the --help section for the deploy command and saw this:
$ npx convex deploy --help
...
--typecheck <mode>             Whether to check TypeScript files with `tsc --noEmit` before deploying. (choices: "enable", "try", "disable", default: "try")
...


It is not clear to me what the "try" means from this description. Testing out both I saw no difference in behavior. The
"Convex Docs AI" aparently also does not have a clue. Is there a documentation for this? I couldn't find any besides this sentence from the --help command
Was this page helpful?