Skip to content

Commit ba64332

Browse files
authored
🤖 Merge PR DefinitelyTyped#71552 [office-js-preview] (Excel) Fix incorrect API set name and add missing param descriptions by @alison-mk
1 parent 249cb79 commit ba64332

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

‎types/office-js-preview/index.d.ts‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32391,7 +32391,7 @@ declare namespace Excel {
3239132391
/**
3239232392
* Specifies whether to load on the `textRuns` property.
3239332393
*
32394-
* [Api set: RangeTextRun]
32394+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
3239532395
*/
3239632396
textRuns?: boolean;
3239732397
}
@@ -32594,7 +32594,7 @@ declare namespace Excel {
3259432594
/**
3259532595
* Represents the `textRuns` property.
3259632596
*
32597-
* [Api set: RangeTextRun]
32597+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
3259832598
*/
3259932599
textRuns?: RangeTextRun[];
3260032600
}
@@ -66129,15 +66129,14 @@ declare namespace Excel {
6612966129
/** Gets the loaded child items in this collection. */
6613066130
readonly items: Excel.Note[];
6613166131
/**
66132-
* Adds a new note to the collection.
66132+
* Adds a new note with the given content on the given cell.
6613366133
*
6613466134
* @remarks
6613566135
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
6613666136
* @beta
6613766137
*
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.
6614166140
*/
6614266141
add(cellAddress: Range | string, content: any): Excel.Note;
6614366142
/**
@@ -66146,7 +66145,6 @@ declare namespace Excel {
6614666145
* @remarks
6614766146
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
6614866147
* @beta
66149-
* @returns
6615066148
*/
6615166149
getCount(): OfficeExtension.ClientResult<number>;
6615266150
/**
@@ -66156,8 +66154,7 @@ declare namespace Excel {
6615666154
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
6615766155
* @beta
6615866156
*
66159-
* @param index
66160-
* @returns
66157+
* @param index The index value of the note to be retrieved. Zero-indexed.
6616166158
*/
6616266159
getItemAt(index: number): Excel.Note;
6616366160
/**

0 commit comments

Comments
 (0)