Commit Graph

5 Commits

Author SHA1 Message Date
Natalie Weizenbaum
23278f2c92
Use the URL type from the DOM definitions, not from Node (#3214)
The two aren't quite interchangeable: the Node definition has a few
more fields, which means that URLs created naively with `new URL()`
aren't assignable to that type.
2021-12-10 21:11:27 +00:00
Natalie Weizenbaum
1b0574a27a
Create a parallel set of type annotations for documentation (#3172)
Because the doc comments for spec/js-api are written for
implementation authors, they aren't very useful as documentation for
end-users. This gives us a place to write user-facing documentation as
well as a test that verifies that the underlying type declarations are
kept in sync.
2021-10-01 22:45:27 +00:00
Natalie Weizenbaum
723e9db494
Use TypeScript for tools and tests (#3169) 2021-09-30 20:25:38 +00:00
Awjin Ahn
7cd83369e9
Rate limit Markdown link checks (#3112) 2021-08-24 15:56:47 -07:00
Natalie Weizenbaum
2cb85cb367
Add a TypeScript interface for the old JS API (#3068)
Co-authored-by: Glenn <33450392+glenn2223@users.noreply.github.com>
Co-authored-by: Awjin Ahn <awjin@google.com>
2021-06-01 18:11:17 -07:00