@types/web 0.0.339 → 0.0.340

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.339 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.339.
50
+ You can read what changed in version 0.0.340 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.340.
package/index.d.ts CHANGED
@@ -354,7 +354,7 @@ interface CSSNumericType {
354
354
  }
355
355
 
356
356
  interface CSSStyleSheetInit {
357
- baseURL?: string;
357
+ baseURL?: string | null;
358
358
  disabled?: boolean;
359
359
  media?: MediaList | string;
360
360
  }
@@ -17099,7 +17099,7 @@ declare var HTMLAllCollection: {
17099
17099
  *
17100
17100
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
17101
17101
  */
17102
- interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17102
+ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17103
17103
  /** @deprecated */
17104
17104
  charset: string;
17105
17105
  /** @deprecated */
@@ -17181,7 +17181,7 @@ declare var HTMLAnchorElement: {
17181
17181
  *
17182
17182
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
17183
17183
  */
17184
- interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17184
+ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17185
17185
  /**
17186
17186
  * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
17187
17187
  *
@@ -18433,30 +18433,6 @@ declare var HTMLHtmlElement: {
18433
18433
  };
18434
18434
 
18435
18435
  interface HTMLHyperlinkElementUtils {
18436
- /**
18437
- * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18438
- *
18439
- * Can be set, to change the URL's fragment (ignores leading "#").
18440
- *
18441
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18442
- */
18443
- hash: string;
18444
- /**
18445
- * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18446
- *
18447
- * Can be set, to change the URL's host and port.
18448
- *
18449
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18450
- */
18451
- host: string;
18452
- /**
18453
- * Returns the hyperlink's URL's host.
18454
- *
18455
- * Can be set, to change the URL's host.
18456
- *
18457
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18458
- */
18459
- hostname: string;
18460
18436
  /**
18461
18437
  * Returns the hyperlink's URL.
18462
18438
  *
@@ -18466,60 +18442,6 @@ interface HTMLHyperlinkElementUtils {
18466
18442
  */
18467
18443
  href: string;
18468
18444
  toString(): string;
18469
- /**
18470
- * Returns the hyperlink's URL's origin.
18471
- *
18472
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18473
- */
18474
- readonly origin: string;
18475
- /**
18476
- * Returns the hyperlink's URL's password.
18477
- *
18478
- * Can be set, to change the URL's password.
18479
- *
18480
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18481
- */
18482
- password: string;
18483
- /**
18484
- * Returns the hyperlink's URL's path.
18485
- *
18486
- * Can be set, to change the URL's path.
18487
- *
18488
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18489
- */
18490
- pathname: string;
18491
- /**
18492
- * Returns the hyperlink's URL's port.
18493
- *
18494
- * Can be set, to change the URL's port.
18495
- *
18496
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18497
- */
18498
- port: string;
18499
- /**
18500
- * Returns the hyperlink's URL's scheme.
18501
- *
18502
- * Can be set, to change the URL's scheme.
18503
- *
18504
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18505
- */
18506
- protocol: string;
18507
- /**
18508
- * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18509
- *
18510
- * Can be set, to change the URL's query (ignores leading "?").
18511
- *
18512
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18513
- */
18514
- search: string;
18515
- /**
18516
- * Returns the hyperlink's URL's username.
18517
- *
18518
- * Can be set, to change the URL's username.
18519
- *
18520
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18521
- */
18522
- username: string;
18523
18445
  }
18524
18446
 
18525
18447
  /**
@@ -22050,6 +21972,87 @@ declare var History: {
22050
21972
  new(): History;
22051
21973
  };
22052
21974
 
21975
+ interface HyperlinkElementUtils {
21976
+ /**
21977
+ * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21978
+ *
21979
+ * Can be set, to change the URL's fragment (ignores leading "#").
21980
+ *
21981
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21982
+ */
21983
+ hash: string;
21984
+ /**
21985
+ * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21986
+ *
21987
+ * Can be set, to change the URL's host and port.
21988
+ *
21989
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
21990
+ */
21991
+ host: string;
21992
+ /**
21993
+ * Returns the hyperlink's URL's host.
21994
+ *
21995
+ * Can be set, to change the URL's host.
21996
+ *
21997
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
21998
+ */
21999
+ hostname: string;
22000
+ /**
22001
+ * Returns the hyperlink's URL's origin.
22002
+ *
22003
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
22004
+ */
22005
+ readonly origin: string;
22006
+ /**
22007
+ * Returns the hyperlink's URL's password.
22008
+ *
22009
+ * Can be set, to change the URL's password.
22010
+ *
22011
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
22012
+ */
22013
+ password: string;
22014
+ /**
22015
+ * Returns the hyperlink's URL's path.
22016
+ *
22017
+ * Can be set, to change the URL's path.
22018
+ *
22019
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
22020
+ */
22021
+ pathname: string;
22022
+ /**
22023
+ * Returns the hyperlink's URL's port.
22024
+ *
22025
+ * Can be set, to change the URL's port.
22026
+ *
22027
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22028
+ */
22029
+ port: string;
22030
+ /**
22031
+ * Returns the hyperlink's URL's scheme.
22032
+ *
22033
+ * Can be set, to change the URL's scheme.
22034
+ *
22035
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22036
+ */
22037
+ protocol: string;
22038
+ /**
22039
+ * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22040
+ *
22041
+ * Can be set, to change the URL's query (ignores leading "?").
22042
+ *
22043
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22044
+ */
22045
+ search: string;
22046
+ /**
22047
+ * Returns the hyperlink's URL's username.
22048
+ *
22049
+ * Can be set, to change the URL's username.
22050
+ *
22051
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22052
+ */
22053
+ username: string;
22054
+ }
22055
+
22053
22056
  /**
22054
22057
  * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
22055
22058
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.339",
3
+ "version": "0.0.340",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -351,7 +351,7 @@ interface CSSNumericType {
351
351
  }
352
352
 
353
353
  interface CSSStyleSheetInit {
354
- baseURL?: string;
354
+ baseURL?: string | null;
355
355
  disabled?: boolean;
356
356
  media?: MediaList | string;
357
357
  }
@@ -17085,7 +17085,7 @@ declare var HTMLAllCollection: {
17085
17085
  *
17086
17086
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
17087
17087
  */
17088
- interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17088
+ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17089
17089
  /** @deprecated */
17090
17090
  charset: string;
17091
17091
  /** @deprecated */
@@ -17166,7 +17166,7 @@ declare var HTMLAnchorElement: {
17166
17166
  *
17167
17167
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
17168
17168
  */
17169
- interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17169
+ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17170
17170
  /**
17171
17171
  * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
17172
17172
  *
@@ -18416,30 +18416,6 @@ declare var HTMLHtmlElement: {
18416
18416
  };
18417
18417
 
18418
18418
  interface HTMLHyperlinkElementUtils {
18419
- /**
18420
- * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18421
- *
18422
- * Can be set, to change the URL's fragment (ignores leading "#").
18423
- *
18424
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18425
- */
18426
- hash: string;
18427
- /**
18428
- * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18429
- *
18430
- * Can be set, to change the URL's host and port.
18431
- *
18432
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18433
- */
18434
- host: string;
18435
- /**
18436
- * Returns the hyperlink's URL's host.
18437
- *
18438
- * Can be set, to change the URL's host.
18439
- *
18440
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18441
- */
18442
- hostname: string;
18443
18419
  /**
18444
18420
  * Returns the hyperlink's URL.
18445
18421
  *
@@ -18449,60 +18425,6 @@ interface HTMLHyperlinkElementUtils {
18449
18425
  */
18450
18426
  href: string;
18451
18427
  toString(): string;
18452
- /**
18453
- * Returns the hyperlink's URL's origin.
18454
- *
18455
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18456
- */
18457
- readonly origin: string;
18458
- /**
18459
- * Returns the hyperlink's URL's password.
18460
- *
18461
- * Can be set, to change the URL's password.
18462
- *
18463
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18464
- */
18465
- password: string;
18466
- /**
18467
- * Returns the hyperlink's URL's path.
18468
- *
18469
- * Can be set, to change the URL's path.
18470
- *
18471
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18472
- */
18473
- pathname: string;
18474
- /**
18475
- * Returns the hyperlink's URL's port.
18476
- *
18477
- * Can be set, to change the URL's port.
18478
- *
18479
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18480
- */
18481
- port: string;
18482
- /**
18483
- * Returns the hyperlink's URL's scheme.
18484
- *
18485
- * Can be set, to change the URL's scheme.
18486
- *
18487
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18488
- */
18489
- protocol: string;
18490
- /**
18491
- * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18492
- *
18493
- * Can be set, to change the URL's query (ignores leading "?").
18494
- *
18495
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18496
- */
18497
- search: string;
18498
- /**
18499
- * Returns the hyperlink's URL's username.
18500
- *
18501
- * Can be set, to change the URL's username.
18502
- *
18503
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18504
- */
18505
- username: string;
18506
18428
  }
18507
18429
 
18508
18430
  /**
@@ -22026,6 +21948,87 @@ declare var History: {
22026
21948
  new(): History;
22027
21949
  };
22028
21950
 
21951
+ interface HyperlinkElementUtils {
21952
+ /**
21953
+ * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21954
+ *
21955
+ * Can be set, to change the URL's fragment (ignores leading "#").
21956
+ *
21957
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21958
+ */
21959
+ hash: string;
21960
+ /**
21961
+ * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21962
+ *
21963
+ * Can be set, to change the URL's host and port.
21964
+ *
21965
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
21966
+ */
21967
+ host: string;
21968
+ /**
21969
+ * Returns the hyperlink's URL's host.
21970
+ *
21971
+ * Can be set, to change the URL's host.
21972
+ *
21973
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
21974
+ */
21975
+ hostname: string;
21976
+ /**
21977
+ * Returns the hyperlink's URL's origin.
21978
+ *
21979
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
21980
+ */
21981
+ readonly origin: string;
21982
+ /**
21983
+ * Returns the hyperlink's URL's password.
21984
+ *
21985
+ * Can be set, to change the URL's password.
21986
+ *
21987
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
21988
+ */
21989
+ password: string;
21990
+ /**
21991
+ * Returns the hyperlink's URL's path.
21992
+ *
21993
+ * Can be set, to change the URL's path.
21994
+ *
21995
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
21996
+ */
21997
+ pathname: string;
21998
+ /**
21999
+ * Returns the hyperlink's URL's port.
22000
+ *
22001
+ * Can be set, to change the URL's port.
22002
+ *
22003
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22004
+ */
22005
+ port: string;
22006
+ /**
22007
+ * Returns the hyperlink's URL's scheme.
22008
+ *
22009
+ * Can be set, to change the URL's scheme.
22010
+ *
22011
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22012
+ */
22013
+ protocol: string;
22014
+ /**
22015
+ * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22016
+ *
22017
+ * Can be set, to change the URL's query (ignores leading "?").
22018
+ *
22019
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22020
+ */
22021
+ search: string;
22022
+ /**
22023
+ * Returns the hyperlink's URL's username.
22024
+ *
22025
+ * Can be set, to change the URL's username.
22026
+ *
22027
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22028
+ */
22029
+ username: string;
22030
+ }
22031
+
22029
22032
  /**
22030
22033
  * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
22031
22034
  *
package/ts5.6/index.d.ts CHANGED
@@ -351,7 +351,7 @@ interface CSSNumericType {
351
351
  }
352
352
 
353
353
  interface CSSStyleSheetInit {
354
- baseURL?: string;
354
+ baseURL?: string | null;
355
355
  disabled?: boolean;
356
356
  media?: MediaList | string;
357
357
  }
@@ -17096,7 +17096,7 @@ declare var HTMLAllCollection: {
17096
17096
  *
17097
17097
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
17098
17098
  */
17099
- interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17099
+ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17100
17100
  /** @deprecated */
17101
17101
  charset: string;
17102
17102
  /** @deprecated */
@@ -17178,7 +17178,7 @@ declare var HTMLAnchorElement: {
17178
17178
  *
17179
17179
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
17180
17180
  */
17181
- interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17181
+ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17182
17182
  /**
17183
17183
  * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
17184
17184
  *
@@ -18430,30 +18430,6 @@ declare var HTMLHtmlElement: {
18430
18430
  };
18431
18431
 
18432
18432
  interface HTMLHyperlinkElementUtils {
18433
- /**
18434
- * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18435
- *
18436
- * Can be set, to change the URL's fragment (ignores leading "#").
18437
- *
18438
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18439
- */
18440
- hash: string;
18441
- /**
18442
- * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18443
- *
18444
- * Can be set, to change the URL's host and port.
18445
- *
18446
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18447
- */
18448
- host: string;
18449
- /**
18450
- * Returns the hyperlink's URL's host.
18451
- *
18452
- * Can be set, to change the URL's host.
18453
- *
18454
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18455
- */
18456
- hostname: string;
18457
18433
  /**
18458
18434
  * Returns the hyperlink's URL.
18459
18435
  *
@@ -18463,60 +18439,6 @@ interface HTMLHyperlinkElementUtils {
18463
18439
  */
18464
18440
  href: string;
18465
18441
  toString(): string;
18466
- /**
18467
- * Returns the hyperlink's URL's origin.
18468
- *
18469
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18470
- */
18471
- readonly origin: string;
18472
- /**
18473
- * Returns the hyperlink's URL's password.
18474
- *
18475
- * Can be set, to change the URL's password.
18476
- *
18477
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18478
- */
18479
- password: string;
18480
- /**
18481
- * Returns the hyperlink's URL's path.
18482
- *
18483
- * Can be set, to change the URL's path.
18484
- *
18485
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18486
- */
18487
- pathname: string;
18488
- /**
18489
- * Returns the hyperlink's URL's port.
18490
- *
18491
- * Can be set, to change the URL's port.
18492
- *
18493
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18494
- */
18495
- port: string;
18496
- /**
18497
- * Returns the hyperlink's URL's scheme.
18498
- *
18499
- * Can be set, to change the URL's scheme.
18500
- *
18501
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18502
- */
18503
- protocol: string;
18504
- /**
18505
- * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18506
- *
18507
- * Can be set, to change the URL's query (ignores leading "?").
18508
- *
18509
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18510
- */
18511
- search: string;
18512
- /**
18513
- * Returns the hyperlink's URL's username.
18514
- *
18515
- * Can be set, to change the URL's username.
18516
- *
18517
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18518
- */
18519
- username: string;
18520
18442
  }
18521
18443
 
18522
18444
  /**
@@ -22047,6 +21969,87 @@ declare var History: {
22047
21969
  new(): History;
22048
21970
  };
22049
21971
 
21972
+ interface HyperlinkElementUtils {
21973
+ /**
21974
+ * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21975
+ *
21976
+ * Can be set, to change the URL's fragment (ignores leading "#").
21977
+ *
21978
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21979
+ */
21980
+ hash: string;
21981
+ /**
21982
+ * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21983
+ *
21984
+ * Can be set, to change the URL's host and port.
21985
+ *
21986
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
21987
+ */
21988
+ host: string;
21989
+ /**
21990
+ * Returns the hyperlink's URL's host.
21991
+ *
21992
+ * Can be set, to change the URL's host.
21993
+ *
21994
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
21995
+ */
21996
+ hostname: string;
21997
+ /**
21998
+ * Returns the hyperlink's URL's origin.
21999
+ *
22000
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
22001
+ */
22002
+ readonly origin: string;
22003
+ /**
22004
+ * Returns the hyperlink's URL's password.
22005
+ *
22006
+ * Can be set, to change the URL's password.
22007
+ *
22008
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
22009
+ */
22010
+ password: string;
22011
+ /**
22012
+ * Returns the hyperlink's URL's path.
22013
+ *
22014
+ * Can be set, to change the URL's path.
22015
+ *
22016
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
22017
+ */
22018
+ pathname: string;
22019
+ /**
22020
+ * Returns the hyperlink's URL's port.
22021
+ *
22022
+ * Can be set, to change the URL's port.
22023
+ *
22024
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22025
+ */
22026
+ port: string;
22027
+ /**
22028
+ * Returns the hyperlink's URL's scheme.
22029
+ *
22030
+ * Can be set, to change the URL's scheme.
22031
+ *
22032
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22033
+ */
22034
+ protocol: string;
22035
+ /**
22036
+ * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22037
+ *
22038
+ * Can be set, to change the URL's query (ignores leading "?").
22039
+ *
22040
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22041
+ */
22042
+ search: string;
22043
+ /**
22044
+ * Returns the hyperlink's URL's username.
22045
+ *
22046
+ * Can be set, to change the URL's username.
22047
+ *
22048
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22049
+ */
22050
+ username: string;
22051
+ }
22052
+
22050
22053
  /**
22051
22054
  * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
22052
22055
  *
package/ts5.9/index.d.ts CHANGED
@@ -351,7 +351,7 @@ interface CSSNumericType {
351
351
  }
352
352
 
353
353
  interface CSSStyleSheetInit {
354
- baseURL?: string;
354
+ baseURL?: string | null;
355
355
  disabled?: boolean;
356
356
  media?: MediaList | string;
357
357
  }
@@ -17096,7 +17096,7 @@ declare var HTMLAllCollection: {
17096
17096
  *
17097
17097
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
17098
17098
  */
17099
- interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17099
+ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17100
17100
  /** @deprecated */
17101
17101
  charset: string;
17102
17102
  /** @deprecated */
@@ -17178,7 +17178,7 @@ declare var HTMLAnchorElement: {
17178
17178
  *
17179
17179
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
17180
17180
  */
17181
- interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17181
+ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
17182
17182
  /**
17183
17183
  * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
17184
17184
  *
@@ -18430,30 +18430,6 @@ declare var HTMLHtmlElement: {
18430
18430
  };
18431
18431
 
18432
18432
  interface HTMLHyperlinkElementUtils {
18433
- /**
18434
- * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18435
- *
18436
- * Can be set, to change the URL's fragment (ignores leading "#").
18437
- *
18438
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18439
- */
18440
- hash: string;
18441
- /**
18442
- * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18443
- *
18444
- * Can be set, to change the URL's host and port.
18445
- *
18446
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18447
- */
18448
- host: string;
18449
- /**
18450
- * Returns the hyperlink's URL's host.
18451
- *
18452
- * Can be set, to change the URL's host.
18453
- *
18454
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18455
- */
18456
- hostname: string;
18457
18433
  /**
18458
18434
  * Returns the hyperlink's URL.
18459
18435
  *
@@ -18463,60 +18439,6 @@ interface HTMLHyperlinkElementUtils {
18463
18439
  */
18464
18440
  href: string;
18465
18441
  toString(): string;
18466
- /**
18467
- * Returns the hyperlink's URL's origin.
18468
- *
18469
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18470
- */
18471
- readonly origin: string;
18472
- /**
18473
- * Returns the hyperlink's URL's password.
18474
- *
18475
- * Can be set, to change the URL's password.
18476
- *
18477
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18478
- */
18479
- password: string;
18480
- /**
18481
- * Returns the hyperlink's URL's path.
18482
- *
18483
- * Can be set, to change the URL's path.
18484
- *
18485
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18486
- */
18487
- pathname: string;
18488
- /**
18489
- * Returns the hyperlink's URL's port.
18490
- *
18491
- * Can be set, to change the URL's port.
18492
- *
18493
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18494
- */
18495
- port: string;
18496
- /**
18497
- * Returns the hyperlink's URL's scheme.
18498
- *
18499
- * Can be set, to change the URL's scheme.
18500
- *
18501
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18502
- */
18503
- protocol: string;
18504
- /**
18505
- * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18506
- *
18507
- * Can be set, to change the URL's query (ignores leading "?").
18508
- *
18509
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18510
- */
18511
- search: string;
18512
- /**
18513
- * Returns the hyperlink's URL's username.
18514
- *
18515
- * Can be set, to change the URL's username.
18516
- *
18517
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18518
- */
18519
- username: string;
18520
18442
  }
18521
18443
 
18522
18444
  /**
@@ -22047,6 +21969,87 @@ declare var History: {
22047
21969
  new(): History;
22048
21970
  };
22049
21971
 
21972
+ interface HyperlinkElementUtils {
21973
+ /**
21974
+ * Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21975
+ *
21976
+ * Can be set, to change the URL's fragment (ignores leading "#").
21977
+ *
21978
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21979
+ */
21980
+ hash: string;
21981
+ /**
21982
+ * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21983
+ *
21984
+ * Can be set, to change the URL's host and port.
21985
+ *
21986
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
21987
+ */
21988
+ host: string;
21989
+ /**
21990
+ * Returns the hyperlink's URL's host.
21991
+ *
21992
+ * Can be set, to change the URL's host.
21993
+ *
21994
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
21995
+ */
21996
+ hostname: string;
21997
+ /**
21998
+ * Returns the hyperlink's URL's origin.
21999
+ *
22000
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
22001
+ */
22002
+ readonly origin: string;
22003
+ /**
22004
+ * Returns the hyperlink's URL's password.
22005
+ *
22006
+ * Can be set, to change the URL's password.
22007
+ *
22008
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
22009
+ */
22010
+ password: string;
22011
+ /**
22012
+ * Returns the hyperlink's URL's path.
22013
+ *
22014
+ * Can be set, to change the URL's path.
22015
+ *
22016
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
22017
+ */
22018
+ pathname: string;
22019
+ /**
22020
+ * Returns the hyperlink's URL's port.
22021
+ *
22022
+ * Can be set, to change the URL's port.
22023
+ *
22024
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22025
+ */
22026
+ port: string;
22027
+ /**
22028
+ * Returns the hyperlink's URL's scheme.
22029
+ *
22030
+ * Can be set, to change the URL's scheme.
22031
+ *
22032
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22033
+ */
22034
+ protocol: string;
22035
+ /**
22036
+ * Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22037
+ *
22038
+ * Can be set, to change the URL's query (ignores leading "?").
22039
+ *
22040
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22041
+ */
22042
+ search: string;
22043
+ /**
22044
+ * Returns the hyperlink's URL's username.
22045
+ *
22046
+ * Can be set, to change the URL's username.
22047
+ *
22048
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22049
+ */
22050
+ username: string;
22051
+ }
22052
+
22050
22053
  /**
22051
22054
  * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
22052
22055
  *