| commit | 1a0e8dbcc06a90339b858924a7facc6a96ca609b | [log] [tgz] |
|---|---|---|
| author | Jack Franklin <[email protected]> | Mon Dec 04 11:35:15 2023 |
| committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 04 11:57:33 2023 |
| tree | 992b8fa956f764fd57801ccd3e606d9a0cf4637f | |
| parent | c81ff32bd3ea8cca33e39167b1449077f152755e [diff] |
Use `typeRoots` for custom type-defs crrev.com/c/5081999 added in custom WebGPU types, however doing so via `types:[]` overrides the TS default behaviour to include types from `node_modules/@types`. This means in VSCode/LSP based editors, we now get TS errors in tests from `assert` and `sinon`, which TS now cannot detect (as it is not reading `node_modules/@types/...`). To prevent this we can instead use `typeRoots`, and specify the folders to use. This maintains the default behaviour and adds detection of the WebGPU types. Bug: 1506431 Change-Id: Ie5aed47bc630852305ecc101d05d7081dfa71647 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5083022 Reviewed-by: Simon Zünd <[email protected]> Commit-Queue: Jack Franklin <[email protected]>
The client-side of the Chrome DevTools, including all TypeScript & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com. Check out the project documentation for instructions to set up, use, and maintain a DevTools front-end checkout, as well as design guidelines, and architectural documentation.
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
All DevTools commits: View the log or follow @DevToolsCommits on Twitter
All open DevTools tickets on crbug.com
File a new DevTools ticket: new.crbug.com
Code reviews mailing list: [email protected]
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools