@types/office-js 1.0.238 → 1.0.239

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: Tue, 08 Feb 2022 23:01:24 GMT
11
+ * Last updated: Mon, 14 Feb 2022 22:01:26 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
@@ -2090,7 +2090,7 @@ declare namespace Office {
2090
2090
  */
2091
2091
  enum EventType {
2092
2092
  /**
2093
- * A Document.ActiveViewChanged event was raised.
2093
+ * A Document.ActiveViewChanged event was raised in PowerPoint.
2094
2094
  *
2095
2095
  * @remarks
2096
2096
  *
@@ -3815,8 +3815,8 @@ declare namespace Office {
3815
3815
  * @param options Provides an option for preserving context data of any type, unchanged, for use in a callback.
3816
3816
  * @param callback Optional. A function that is invoked when the callback returns, whose only parameter is of type {@link Office.AsyncResult}.
3817
3817
  * The `value` property of the result is the state of the presentation's current view.
3818
- * The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides,
3819
- * such as Normal or Outline View. "read" corresponds to either Slide Show or Reading View.
3818
+ * The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides:
3819
+ * Normal, Slide Sorter, or Outline View. "read" corresponds to either Slide Show or Reading View.
3820
3820
  */
3821
3821
  getActiveViewAsync(options?: Office.AsyncContextOptions, callback?: (result: AsyncResult<"edit" | "read">) => void): void;
3822
3822
  /**
@@ -3830,8 +3830,8 @@ declare namespace Office {
3830
3830
  *
3831
3831
  * @param callback Optional. A function that is invoked when the callback returns, whose only parameter is of type {@link Office.AsyncResult}.
3832
3832
  * The `value` property of the result is the state of the presentation's current view.
3833
- * The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides,
3834
- * such as Normal or Outline View. "read" corresponds to either Slide Show or Reading View.
3833
+ * The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides:
3834
+ * Normal, Slide Sorter, or Outline View. "read" corresponds to either Slide Show or Reading View.
3835
3835
  */
3836
3836
  getActiveViewAsync(callback?: (result: AsyncResult<"edit" | "read">) => void): void;
3837
3837
  /**
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.238",
3
+ "version": "1.0.239",
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": "8693195e6cd45b89858385eb7298f5f79a3128888d1947386e93cd343d51c757",
48
+ "typesPublisherContentHash": "befe436d5c1870a96043246b3e5d88b4daac6887329e537eefa4422012044d49",
49
49
  "typeScriptVersion": "3.8"
50
50
  }