site-kit-wp icon indicating copy to clipboard operation
site-kit-wp copied to clipboard

Broaden scope of tsconfig include path

Open techanvil opened this issue 1 month ago • 1 comments

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.json is set to assets/js.

Implementation Brief

  • [ ] Update the include path in tsconfig.json to assets/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

techanvil avatar Dec 10 '25 11:12 techanvil

IB ✔️

eugene-manuilov avatar Dec 10 '25 13:12 eugene-manuilov