Skip to content

Commit

Permalink
feat(browser-globals): include dictionary types in type list
Browse files Browse the repository at this point in the history
Teach quick-lint-js about browser types such as
IntersectionObserverInit which are declared as dictionaries in the IDL.
This makes quick-lint-js more compatible with TypeScript's dom.d.ts.
  • Loading branch information
strager committed Apr 27, 2024
1 parent 7ee7d92 commit b43acae
Show file tree
Hide file tree
Showing 3 changed files with 433 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Semantic Versioning.

### Fixed

* quick-lint-js no longer warns about DOM types such as
`IntersectionObserverInit`. ([#1216][])
* `import Chart = goog.Chart;` in JavaScript code now correctly mentions
"namespace aliases" instead of "import aliases". (Implemented by
[UnfairBots][].) ([#1138][])
Expand Down Expand Up @@ -1456,6 +1458,7 @@ Beta release.
[#1199]: https://github.com/quick-lint/quick-lint-js/issues/1199
[#1203]: https://github.com/quick-lint/quick-lint-js/issues/1203
[#1207]: https://github.com/quick-lint/quick-lint-js/issues/1207
[#1216]: https://github.com/quick-lint/quick-lint-js/issues/1216

[E0001]: https://quick-lint-js.com/errors/E0001/
[E0003]: https://quick-lint-js.com/errors/E0003/
Expand Down
Loading

0 comments on commit b43acae

Please sign in to comment.