@types/office-js 1.0.291 → 1.0.293
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 +1 -1
- office-js/index.d.ts +7 -1
- office-js/package.json +2 -2
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,
|
|
11
|
+
* Last updated: Thu, 27 Oct 2022 15:02:53 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -2853,7 +2853,7 @@ declare namespace Office {
|
|
|
2853
2853
|
* </tr>
|
|
2854
2854
|
* <tr>
|
|
2855
2855
|
* <td>A string</td>
|
|
2856
|
-
* <td>The specified text is inserted as the value of the first bound cell. You can also specify a valid formula to add that formula to the bound cell. For example, setting data to <code>"=SUM(A1:A5)"
|
|
2856
|
+
* <td>The specified text is inserted as the value of the first bound cell. You can also specify a valid formula to add that formula to the bound cell. For example, setting data to <code>"=SUM(A1:A5)"</code> will total the values in the specified range. However, when you set a formula on the bound cell, after doing so, you can't read the added formula (or any pre-existing formula) from the bound cell. If you call the <code>Binding.getDataAsync</code> method on the bound cell to read its data, the method can return only the data displayed in the cell (the formula's result).</td>
|
|
2857
2857
|
* </tr>
|
|
2858
2858
|
* <tr>
|
|
2859
2859
|
* <td>An array of arrays ("matrix"), and the shape exactly matches the shape of the binding specified</td>
|
|
@@ -18710,6 +18710,12 @@ declare namespace OfficeExtension {
|
|
|
18710
18710
|
innerError: Error;
|
|
18711
18711
|
}
|
|
18712
18712
|
|
|
18713
|
+
/**
|
|
18714
|
+
* Represents the error code that can be returned by {@link OfficeExtension.Error | OfficeExtension.Error.code}.
|
|
18715
|
+
*
|
|
18716
|
+
* To learn more about the error codes, see
|
|
18717
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/reference/javascript-api-for-office-error-codes | Office Common API error codes}.
|
|
18718
|
+
*/
|
|
18713
18719
|
class ErrorCodes {
|
|
18714
18720
|
public static accessDenied: string;
|
|
18715
18721
|
public static generalException: string;
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.293",
|
|
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",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "399a52f6e3367ce762c5220e1a0145183b5630dcb945e9428d09b4c10dcf3dc9",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|