@types/office-js 1.0.531 → 1.0.532

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.
office-js/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for office-js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 28 Aug 2025 21:02:18 GMT
11
+ * Last updated: Tue, 02 Sep 2025 21:32:24 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -30805,7 +30805,7 @@ declare namespace Excel {
30805
30805
  provider?: CellValueProviderAttributes;
30806
30806
  }
30807
30807
  /**
30808
- * Represents the value of a cell containing a #N/A! error.
30808
+ * Represents the value of a cell containing a #N/A error.
30809
30809
  *
30810
30810
  * @remarks
30811
30811
  * [Api set: ExcelApi 1.16]
@@ -30826,7 +30826,7 @@ declare namespace Excel {
30826
30826
  * @remarks
30827
30827
  * [Api set: ExcelApi 1.16]
30828
30828
  */
30829
- basicValue?: "#N/A!" | string;
30829
+ basicValue?: "#N/A" | string;
30830
30830
  /**
30831
30831
  * Represents the value that would be returned by `Range.valueTypes` for a cell with this value.
30832
30832
  *
@@ -32038,6 +32038,7 @@ declare namespace Excel {
32038
32038
  /**
32039
32039
  *
32040
32040
  * Creates and opens a new workbook. Optionally, the workbook can be pre-populated with a Base64-encoded .xlsx file.
32041
+ * The `extensionHardening` Windows registry key affects the `base64File` param. The file extension defined by the param must match the real file type of the file. If `extensionHardening` is set to deny mismatches and the file extension does not match the real file type, this API throws the following error: "This operation is not allowed due to the extension hardening policy."
32041
32042
  * Note: Macros can be a security risk. If this API is used to create a workbook that includes a macro, the add-in user will be prompted with a "Trust this add-in?" dialog in the Excel UI. The user must select the "Trust add-in" button to proceed.
32042
32043
  *
32043
32044
  * [Api set: ExcelApi 1.8]
@@ -35680,11 +35681,12 @@ declare namespace Excel {
35680
35681
  getSelectedRanges(): Excel.RangeAreas;
35681
35682
  /**
35682
35683
  * Inserts the specified worksheets from a source workbook into the current workbook.
35683
-
35684
- **Note**: This API is currently only supported for Office on Windows, Mac, and the web.
35684
+ * The `extensionHardening` Windows registry key affects this API. The file extension defined by the `base64File` param must match the real file type of the inserted file. If `extensionHardening` is set to deny mismatches and the file extension does not match the real file type, this API throws the following error: "This operation is not allowed due to the extension hardening policy."
35685
35685
  *
35686
35686
  * @remarks
35687
35687
  * [Api set: ExcelApi 1.13]
35688
+ *
35689
+ * This API is currently only supported for Office on Windows, Mac, and the web.
35688
35690
  *
35689
35691
  * @param base64File Required. The Base64-encoded string representing the source workbook file.
35690
35692
  * @param options Optional. The options that define which worksheets to insert and where in the workbook the new worksheets will be inserted. By default, all the worksheets from the source workbook are inserted at the end of the current workbook.
@@ -37622,7 +37624,7 @@ declare namespace Excel {
37622
37624
  */
37623
37625
  getEntireRow(): Excel.Range;
37624
37626
  /**
37625
- * Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the Ctrl+Shift+Arrow key behavior in the Excel on Windows UI.
37627
+ * Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
37626
37628
  *
37627
37629
  * @remarks
37628
37630
  * [Api set: ExcelApi 1.13]
@@ -37632,7 +37634,7 @@ declare namespace Excel {
37632
37634
  */
37633
37635
  getExtendedRange(direction: Excel.KeyboardDirection, activeCell?: Range | string): Excel.Range;
37634
37636
  /**
37635
- * Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the Ctrl+Shift+Arrow key behavior in the Excel on Windows UI.
37637
+ * Returns a range object that includes the current range and up to the edge of the range, based on the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
37636
37638
  *
37637
37639
  * @remarks
37638
37640
  * [Api set: ExcelApi 1.13]
@@ -37727,7 +37729,7 @@ declare namespace Excel {
37727
37729
  */
37728
37730
  getPrecedents(): Excel.WorkbookRangeAreas;
37729
37731
  /**
37730
- * 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.
37732
+ * Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
37731
37733
  *
37732
37734
  * @remarks
37733
37735
  * [Api set: ExcelApi 1.13]
@@ -37737,7 +37739,7 @@ declare namespace Excel {
37737
37739
  */
37738
37740
  getRangeEdge(direction: Excel.KeyboardDirection, activeCell?: Range | string): Excel.Range;
37739
37741
  /**
37740
- * 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.
37742
+ * Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the <kbd>Ctrl</kbd>+<kbd>Arrow key</kbd> behavior in the Excel on Windows UI.
37741
37743
  *
37742
37744
  * @remarks
37743
37745
  * [Api set: ExcelApi 1.13]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.531",
3
+ "version": "1.0.532",
4
4
  "description": "TypeScript definitions for office-js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "ca6c578116f68bf60005a3c18dd109de601cb88850b467ae73cd1fcb30e83abf",
49
+ "typesPublisherContentHash": "b4ca67018de4a2ca6fba030d5ea48ad2a061406aefbf617cd083164c09290ced",
50
50
  "typeScriptVersion": "5.2"
51
51
  }