mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fix: restore reference to dom.extras in lib.dom.d.ts (#24489)
This was changed by mistake in #24326. Closes https://github.com/denoland/deno/issues/24459.
This commit is contained in:
parent
3c91d597ce
commit
3674f4536b
5 changed files with 18 additions and 0 deletions
1
cli/tsc/dts/lib.dom.d.ts
vendored
1
cli/tsc/dts/lib.dom.d.ts
vendored
|
@ -15,6 +15,7 @@ and limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference no-default-lib="true"/>
|
||||||
|
/// <reference lib="dom.extras" />
|
||||||
|
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
/// Window APIs
|
/// Window APIs
|
||||||
|
|
4
tests/specs/run/dom_extras_dts/__test__.jsonc
Normal file
4
tests/specs/run/dom_extras_dts/__test__.jsonc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"args": "run --check dom_extras_dts.ts",
|
||||||
|
"output": "dom_extras_dts.out"
|
||||||
|
}
|
8
tests/specs/run/dom_extras_dts/deno.json
Normal file
8
tests/specs/run/dom_extras_dts/deno.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"lib": [
|
||||||
|
"deno.ns",
|
||||||
|
"dom"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
3
tests/specs/run/dom_extras_dts/dom_extras_dts.out
Normal file
3
tests/specs/run/dom_extras_dts/dom_extras_dts.out
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Check [WILDCARD]dom_extras_dts.ts
|
||||||
|
URLPattern[WILDCARD]
|
||||||
|
function
|
2
tests/specs/run/dom_extras_dts/dom_extras_dts.ts
Normal file
2
tests/specs/run/dom_extras_dts/dom_extras_dts.ts
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
console.log(new URLPattern({ pathname: "/:foo/:bar/c" }));
|
||||||
|
console.log(typeof Deno.serve);
|
Loading…
Reference in a new issue