@types/office-js 1.0.588 → 1.0.590
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 +32 -1
- office-js/package.json +5 -10
office-js/README.md
CHANGED
|
@@ -8,8 +8,8 @@ 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: Wed, 13 May 2026 17:40:40 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
15
|
-
These definitions were written by [OfficeDev](https://github.com/OfficeDev), [
|
|
15
|
+
These definitions were written by [OfficeDev](https://github.com/OfficeDev), [David Chesnut](https://github.com/davidchesnut), [Alex Jerabek](https://github.com/AlexJerabek), [Elizabeth Samuel](https://github.com/ElizabethSamuel-MSFT), and [Sam Ramon](https://github.com/samantharamon).
|
office-js/index.d.ts
CHANGED
|
@@ -66853,7 +66853,7 @@ declare namespace Excel {
|
|
|
66853
66853
|
*
|
|
66854
66854
|
* @param dateText Is text that represents a date in a Microsoft Excel date format, between 1/1/1900 or 1/1/1904 (depending on the workbook's date system) and 12/31/9999.
|
|
66855
66855
|
*/
|
|
66856
|
-
datevalue(dateText: string |
|
|
66856
|
+
datevalue(dateText: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;
|
|
66857
66857
|
/**
|
|
66858
66858
|
* Returns the day of the month, a number from 1 to 31.
|
|
66859
66859
|
*
|
|
@@ -139699,6 +139699,15 @@ declare namespace Word {
|
|
|
139699
139699
|
context: RequestContext;
|
|
139700
139700
|
/** Gets the loaded child items in this collection. */
|
|
139701
139701
|
readonly items: Word.ListTemplate[];
|
|
139702
|
+
/**
|
|
139703
|
+
* Adds a new `ListTemplate` object. Note: This operation isn't allowed if the collection represents list templates from a {@link Word.ListTemplateGallery}.
|
|
139704
|
+
*
|
|
139705
|
+
* @remarks
|
|
139706
|
+
* [Api set: WordApiDesktop 1.5]
|
|
139707
|
+
*
|
|
139708
|
+
* @param options Optional. Options for adding a new list template.
|
|
139709
|
+
*/
|
|
139710
|
+
add(options?: Word.ListTemplateAddOptions): Word.ListTemplate;
|
|
139702
139711
|
/**
|
|
139703
139712
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
139704
139713
|
*
|
|
@@ -139731,6 +139740,28 @@ declare namespace Word {
|
|
|
139731
139740
|
*/
|
|
139732
139741
|
toJSON(): Word.Interfaces.ListTemplateCollectionData;
|
|
139733
139742
|
}
|
|
139743
|
+
/**
|
|
139744
|
+
* Represents the options for the {@link Word.ListTemplateCollection | ListTemplateCollection.add} method.
|
|
139745
|
+
*
|
|
139746
|
+
* @remarks
|
|
139747
|
+
* [Api set: WordApiDesktop 1.5]
|
|
139748
|
+
*/
|
|
139749
|
+
interface ListTemplateAddOptions {
|
|
139750
|
+
/**
|
|
139751
|
+
* If provided, specifies the name of the list template to be added.
|
|
139752
|
+
*
|
|
139753
|
+
* @remarks
|
|
139754
|
+
* [Api set: WordApiDesktop 1.5]
|
|
139755
|
+
*/
|
|
139756
|
+
name?: string;
|
|
139757
|
+
/**
|
|
139758
|
+
* If provided, specifies whether to apply outline numbering to the new list template. The default value is `false`.
|
|
139759
|
+
*
|
|
139760
|
+
* @remarks
|
|
139761
|
+
* [Api set: WordApiDesktop 1.5]
|
|
139762
|
+
*/
|
|
139763
|
+
outlineNumbered?: boolean;
|
|
139764
|
+
}
|
|
139734
139765
|
/**
|
|
139735
139766
|
* Represents a gallery of list templates of the same {@link Word.ListTemplateGalleryType}.
|
|
139736
139767
|
*
|
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.590",
|
|
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",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"url": "https://github.com/OfficeDev"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"name": "
|
|
15
|
-
"githubUsername": "
|
|
16
|
-
"url": "https://github.com/
|
|
14
|
+
"name": "David Chesnut",
|
|
15
|
+
"githubUsername": "davidchesnut",
|
|
16
|
+
"url": "https://github.com/davidchesnut"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"name": "Alex Jerabek",
|
|
@@ -25,11 +25,6 @@
|
|
|
25
25
|
"githubUsername": "ElizabethSamuel-MSFT",
|
|
26
26
|
"url": "https://github.com/ElizabethSamuel-MSFT"
|
|
27
27
|
},
|
|
28
|
-
{
|
|
29
|
-
"name": "Alison McKay",
|
|
30
|
-
"githubUsername": "alison-mk",
|
|
31
|
-
"url": "https://github.com/alison-mk"
|
|
32
|
-
},
|
|
33
28
|
{
|
|
34
29
|
"name": "Sam Ramon",
|
|
35
30
|
"githubUsername": "samantharamon",
|
|
@@ -46,6 +41,6 @@
|
|
|
46
41
|
"scripts": {},
|
|
47
42
|
"dependencies": {},
|
|
48
43
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
44
|
+
"typesPublisherContentHash": "71058f80fe70dabdc74e9eb1a0db4bcee9cf3182377ec1f0da69d548372dd51d",
|
|
50
45
|
"typeScriptVersion": "5.3"
|
|
51
46
|
}
|