@types/office-js-preview 1.0.540 → 1.0.541

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.
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 31 Dec 2024 00:04:03 GMT
11
+ * Last updated: Fri, 03 Jan 2025 20:02:30 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -32391,7 +32391,7 @@ declare namespace Excel {
32391
32391
  /**
32392
32392
  * Specifies whether to load on the `textRuns` property.
32393
32393
  *
32394
- * [Api set: RangeTextRun]
32394
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32395
32395
  */
32396
32396
  textRuns?: boolean;
32397
32397
  }
@@ -32594,7 +32594,7 @@ declare namespace Excel {
32594
32594
  /**
32595
32595
  * Represents the `textRuns` property.
32596
32596
  *
32597
- * [Api set: RangeTextRun]
32597
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32598
32598
  */
32599
32599
  textRuns?: RangeTextRun[];
32600
32600
  }
@@ -66129,15 +66129,14 @@ declare namespace Excel {
66129
66129
  /** Gets the loaded child items in this collection. */
66130
66130
  readonly items: Excel.Note[];
66131
66131
  /**
66132
- * Adds a new note to the collection.
66132
+ * Adds a new note with the given content on the given cell.
66133
66133
  *
66134
66134
  * @remarks
66135
66135
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66136
66136
  * @beta
66137
66137
  *
66138
- * @param cellAddress
66139
- * @param content
66140
- * @returns
66138
+ * @param cellAddress The cell to which the note is added. This can be a `Range` object or a string such as "A1". If the string is invalid, or the range is not a single cell, an `InvalidCellAddress` error is thrown.
66139
+ * @param content The text of the note.
66141
66140
  */
66142
66141
  add(cellAddress: Range | string, content: any): Excel.Note;
66143
66142
  /**
@@ -66146,7 +66145,6 @@ declare namespace Excel {
66146
66145
  * @remarks
66147
66146
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66148
66147
  * @beta
66149
- * @returns
66150
66148
  */
66151
66149
  getCount(): OfficeExtension.ClientResult<number>;
66152
66150
  /**
@@ -66156,8 +66154,7 @@ declare namespace Excel {
66156
66154
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66157
66155
  * @beta
66158
66156
  *
66159
- * @param index
66160
- * @returns
66157
+ * @param index The index value of the note to be retrieved. Zero-indexed.
66161
66158
  */
66162
66159
  getItemAt(index: number): Excel.Note;
66163
66160
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.540",
3
+ "version": "1.0.541",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "d0a7dff67c78d4e9683f47fc69ca325b75b71661ba09df69475bab5809216c72",
49
+ "typesPublisherContentHash": "c528b977ec25a7e2433a772c7ed60fb38477d0549f75bb8cdfe6c653c6d11428",
50
50
  "typeScriptVersion": "5.0",
51
51
  "nonNpm": true
52
52
  }