mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 14:08:23 +00:00
lint: Add TypeScript compiler as a linter.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
40e8fd24ff
commit
ecfb7c6a7f
@@ -32,11 +32,11 @@ The following resources are valuable for learning TypeScript:
|
||||
|
||||
## Type checking
|
||||
|
||||
TypeScript types are checked primarily via `webpack`, so you'll see
|
||||
typing errors in red in your `run-dev.py` console as you do
|
||||
development.
|
||||
|
||||
TODO: Document command for running the type check manually.
|
||||
TypeScript types are checked by the TypeScript compiler, `tsc`, which
|
||||
is run as part of our [lint checks](linters.html). You can run the
|
||||
compiler yourself with `tools/run-tsc`, which will check all the
|
||||
TypeScript files once, or `tools/run-tsc --watch`, which will
|
||||
continually recheck the files as you edit them.
|
||||
|
||||
## Linting and style
|
||||
|
||||
|
||||
Reference in New Issue
Block a user