@types/office-js 1.0.231 → 1.0.235
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 +2 -2
- office-js/index.d.ts +8 -4
- office-js/package.json +7 -2
office-js/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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:
|
|
11
|
+
* Last updated: Fri, 28 Jan 2022 00:31:27 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [OfficeDev](https://github.com/OfficeDev), [Ricky Kirkham](https://github.com/Rick-Kirkham), [Alex Jerabek](https://github.com/AlexJerabek), [Elizabeth Samuel](https://github.com/ElizabethSamuel-MSFT),
|
|
16
|
+
These definitions were written by [OfficeDev](https://github.com/OfficeDev), [Ricky Kirkham](https://github.com/Rick-Kirkham), [Alex Jerabek](https://github.com/AlexJerabek), [Elizabeth Samuel](https://github.com/ElizabethSamuel-MSFT), [Alison McKay](https://github.com/alison-mk), and [Sam Ramon](https://github.com/samantharamon).
|
office-js/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
// Ricky Kirkham <https://github.com/Rick-Kirkham>,
|
|
5
5
|
// Alex Jerabek <https://github.com/AlexJerabek>,
|
|
6
6
|
// Elizabeth Samuel <https://github.com/ElizabethSamuel-MSFT>,
|
|
7
|
-
// Alison McKay <https://github.com/alison-mk
|
|
7
|
+
// Alison McKay <https://github.com/alison-mk>,
|
|
8
|
+
// Sam Ramon <https://github.com/samantharamon>
|
|
8
9
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
9
10
|
// TypeScript Version: 2.4
|
|
10
11
|
|
|
@@ -11608,8 +11609,11 @@ declare namespace Office {
|
|
|
11608
11609
|
/**
|
|
11609
11610
|
* Gets the MIME content type of the attachment.
|
|
11610
11611
|
*
|
|
11611
|
-
* **
|
|
11612
|
-
* If you require specific types, grab the attachment's extension and process accordingly.
|
|
11612
|
+
* **Warning**: While the `contentType` value is a direct lookup of the attachment's extension, the internal mapping isn't actively maintained
|
|
11613
|
+
* so this property has been deprecated. If you require specific types, grab the attachment's extension and process accordingly. For details,
|
|
11614
|
+
* refer to the {@link https://devblogs.microsoft.com/microsoft365dev/outlook-javascript-api-deprecation-for-attachmentdetails-contenttype-property/ | related blog post }.
|
|
11615
|
+
*
|
|
11616
|
+
* @deprecated If you require specific content types, grab the attachment's extension and process accordingly.
|
|
11613
11617
|
*/
|
|
11614
11618
|
contentType: string;
|
|
11615
11619
|
/**
|
|
@@ -22595,7 +22599,7 @@ declare namespace Excel {
|
|
|
22595
22599
|
*
|
|
22596
22600
|
* @param text The string to find.
|
|
22597
22601
|
* @param criteria Additional search criteria, including whether the search needs to match the entire cell or be case-sensitive.
|
|
22598
|
-
* @returns A `RangeAreas` object, comprising one or more rectangular ranges, that matches the search criteria. If there are no matches, then this
|
|
22602
|
+
* @returns A `RangeAreas` object, comprising one or more rectangular ranges, that matches the search criteria. If there are no matches, then this method returns an object with its `isNullObject` property set to `true`.
|
|
22599
22603
|
For further information, see {@link https://docs.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
22600
22604
|
*/
|
|
22601
22605
|
findAllOrNullObject(text: string, criteria: Excel.WorksheetSearchCriteria): Excel.RangeAreas;
|
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.235",
|
|
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",
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
"name": "Alison McKay",
|
|
30
30
|
"url": "https://github.com/alison-mk",
|
|
31
31
|
"githubUsername": "alison-mk"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Sam Ramon",
|
|
35
|
+
"url": "https://github.com/samantharamon",
|
|
36
|
+
"githubUsername": "samantharamon"
|
|
32
37
|
}
|
|
33
38
|
],
|
|
34
39
|
"main": "",
|
|
@@ -40,6 +45,6 @@
|
|
|
40
45
|
},
|
|
41
46
|
"scripts": {},
|
|
42
47
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "4342de97ecdb259cc0c08f462b66cff3e152afd951b8ff6925783573890c5bc9",
|
|
44
49
|
"typeScriptVersion": "3.8"
|
|
45
50
|
}
|