Skip to content

Commit 5c99a4c

Browse files
authored
[excel] Pulling latest type definitions from CDN (#361)
* [excel] Pulling latest type definitions from CDN * Fix typos * Fix typos
1 parent 9a6a59b commit 5c99a4c

File tree

1 file changed

+29
-5
lines changed

1 file changed

+29
-5
lines changed

generate-docs/script-inputs/excel.d.ts

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ declare namespace ExcelScript {
17341734
calculate(): void;
17351735

17361736
/**
1737-
* Clear range values, format, fill, border, etc.
1737+
* Clear range values and formatting, such as fill and border.
17381738
* @param applyTo Optional. Determines the type of clear action. See `ExcelScript.ClearApplyTo` for details.
17391739
*/
17401740
clear(applyTo?: ClearApplyTo): void;
@@ -1817,6 +1817,16 @@ declare namespace ExcelScript {
18171817
*/
18181818
getColumnsBefore(count?: number): Range;
18191819

1820+
/**
1821+
* Returns a `WorkbookRangeAreas` object that represents the range containing all the dependent cells of a specified range in the same worksheet or across multiple worksheets.
1822+
*/
1823+
getDependents(): WorkbookRangeAreas;
1824+
1825+
/**
1826+
* Returns a `WorkbookRangeAreas` object that represents the range containing all the direct dependent cells of a specified range in the same worksheet or across multiple worksheets.
1827+
*/
1828+
getDirectDependents(): WorkbookRangeAreas;
1829+
18201830
/**
18211831
* Returns a `WorkbookRangeAreas` object that represents the range containing all the direct precedent cells of a specified range in the same worksheet or across multiple worksheets.
18221832
*/
@@ -1886,6 +1896,11 @@ declare namespace ExcelScript {
18861896
*/
18871897
getPivotTables(fullyContained?: boolean): PivotTable[];
18881898

1899+
/**
1900+
* Returns a `WorkbookRangeAreas` object that represents the range containing all the precedent cells of a specified range in the same worksheet or across multiple worksheets.
1901+
*/
1902+
getPrecedents(): WorkbookRangeAreas;
1903+
18891904
/**
18901905
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the Ctrl+Arrow key behavior in the Excel on Windows UI.
18911906
* @param direction The direction from the active cell.
@@ -7406,12 +7421,12 @@ declare namespace ExcelScript {
74067421
setCategory(category: string): void;
74077422

74087423
/**
7409-
* The comments of the workbook.
7424+
* The comment field in the metadata of the workbook. These have no connection to comments by users made in the workbook.
74107425
*/
74117426
getComments(): string;
74127427

74137428
/**
7414-
* The comments of the workbook.
7429+
* The comment field in the metadata of the workbook. These have no connection to comments by users made in the workbook.
74157430
*/
74167431
setComments(comments: string): void;
74177432

@@ -10172,6 +10187,12 @@ declare namespace ExcelScript {
1017210187
* The `condition` defines what criteria need to be set in order for the filter to operate.
1017310188
*/
1017410189
interface PivotLabelFilter {
10190+
/**
10191+
* The comparator is the static value to which other values are compared. The type of comparison is defined by the condition.
10192+
* Note: A numeric string is treated as a number when being compared against other numeric strings.
10193+
*/
10194+
comparator?: string;
10195+
1017510196
/**
1017610197
* Specifies the condition for the filter, which defines the necessary filtering criteria.
1017710198
*/
@@ -12798,15 +12819,18 @@ declare namespace ExcelScript {
1279812819
}
1279912820

1280012821
enum ClearApplyTo {
12822+
/**
12823+
* Clears everything in the range.
12824+
*/
1280112825
all,
1280212826

1280312827
/**
12804-
* Clears all formatting for the range.
12828+
* Clears all formatting for the range, leaving values intact.
1280512829
*/
1280612830
formats,
1280712831

1280812832
/**
12809-
* Clears the contents of the range.
12833+
* Clears the contents of the range, leaving formatting intact.
1281012834
*/
1281112835
contents,
1281212836

0 commit comments

Comments
 (0)