From 4ec24739f4e37b1f8d0b75ed4c0b9870ef8b91f5 Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Sun, 15 Aug 2021 17:17:57 +0100 Subject: [PATCH] Reference "yarn typecheck" in developer documentation Fixes #6962 --- netbox/project-static/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/netbox/project-static/README.md b/netbox/project-static/README.md index 15ec0223e..53e32c7f2 100644 --- a/netbox/project-static/README.md +++ b/netbox/project-static/README.md @@ -83,3 +83,13 @@ yarn bundle ``` _**Note:** if you're running the development web server_ — `manage.py runserver` — _you'll need to run_ `manage.py collectstatic` _to see your changes._ + +### Validating TypeScript + +After any changes to TypeScript files, it is recommended that you also run +the type checker - the bundler does not do this. + +```bash +# netbox/project-static +yarn typecheck +```