site-kit-wp
site-kit-wp copied to clipboard
Broaden scope of tsconfig include path
Feature Description
The include path in tsconfig.json is set to assets/js/types, which is too tightly scoped, impacting type checking and IDE features e.g. "Go to Definition" in VSCode. It should be updated to assets/js.
We'll need to add more paths as time goes on and we add TS files outside of assets/js.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The include path in
tsconfig.jsonis set toassets/js.
Implementation Brief
- [ ] Update the include path in
tsconfig.jsontoassets/js.
Test Coverage
- No tests needed.
QA Brief
- Test various places in the code base where JS is used to ensure "Go to definition" and TS works as expected
Changelog entry
- N/A
IB ✔️