@types/web 0.0.254 → 0.0.255

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.254 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.254.
50
+ You can read what changed in version 0.0.255 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.255.
package/index.d.ts CHANGED
@@ -8098,8 +8098,11 @@ interface CanvasUserInterface {
8098
8098
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition)
8099
8099
  */
8100
8100
  interface CaretPosition {
8101
+ /** The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node. */
8101
8102
  readonly offset: number;
8103
+ /** The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position. */
8102
8104
  readonly offsetNode: Node;
8105
+ /** The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range. */
8103
8106
  getClientRect(): DOMRect | null;
8104
8107
  }
8105
8108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.254",
3
+ "version": "0.0.255",
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
@@ -8090,8 +8090,11 @@ interface CanvasUserInterface {
8090
8090
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition)
8091
8091
  */
8092
8092
  interface CaretPosition {
8093
+ /** The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node. */
8093
8094
  readonly offset: number;
8095
+ /** The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position. */
8094
8096
  readonly offsetNode: Node;
8097
+ /** The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range. */
8095
8098
  getClientRect(): DOMRect | null;
8096
8099
  }
8097
8100
 
package/ts5.6/index.d.ts CHANGED
@@ -8098,8 +8098,11 @@ interface CanvasUserInterface {
8098
8098
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition)
8099
8099
  */
8100
8100
  interface CaretPosition {
8101
+ /** The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node. */
8101
8102
  readonly offset: number;
8103
+ /** The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position. */
8102
8104
  readonly offsetNode: Node;
8105
+ /** The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range. */
8103
8106
  getClientRect(): DOMRect | null;
8104
8107
  }
8105
8108