@types/office-js-preview 1.0.606 → 1.0.608

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.
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 11 Jun 2025 22:36:18 GMT
11
+ * Last updated: Fri, 13 Jun 2025 17:02:20 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -25607,8 +25607,10 @@ declare namespace Excel {
25607
25607
  tooManyCells = "TooManyCells",
25608
25608
  /**
25609
25609
  * An error caused by a cell's formula evaluating to a lambda value. Displays as error type #CALC! in Excel.
25610
+ *
25611
+ * Warning: `lambdaInCell` was deprecated in ExcelApi 1.19.
25610
25612
  *
25611
- * @deprecated Deprecated since [Api set: ExcelApi 1.19].
25613
+ * @deprecated Deprecated since ExcelApi 1.19.
25612
25614
  *
25613
25615
  * @remarks
25614
25616
  * [Api set: ExcelApi 1.16]
@@ -55646,6 +55648,7 @@ declare namespace Excel {
55646
55648
  *
55647
55649
  * @remarks
55648
55650
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
55651
+ * @beta
55649
55652
  */
55650
55653
  class CustomFunctionManager extends OfficeExtension.ClientObject {
55651
55654
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -55654,21 +55657,33 @@ declare namespace Excel {
55654
55657
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
55655
55658
  *
55656
55659
  * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
55660
+ *
55661
+ * @remarks
55662
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
55663
+ * @beta
55657
55664
  */
55658
55665
  load(propertyNames?: string | string[]): Excel.CustomFunctionManager;
55659
55666
  /**
55660
55667
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
55661
55668
  *
55662
55669
  * @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
55670
+ *
55671
+ * @remarks
55672
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
55673
+ * @beta
55663
55674
  */
55664
55675
  load(propertyNamesAndPaths?: {
55665
55676
  select?: string;
55666
55677
  expand?: string;
55667
55678
  }): Excel.CustomFunctionManager;
55668
55679
  /**
55669
- * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
55670
- * Whereas the original `Excel.CustomFunctionManager` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Excel.Interfaces.CustomFunctionManagerData`) that contains shallow copies of any loaded child properties from the original object.
55671
- */
55680
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
55681
+ * Whereas the original `Excel.CustomFunctionManager` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Excel.Interfaces.CustomFunctionManagerData`) that contains shallow copies of any loaded child properties from the original object.
55682
+ *
55683
+ * @remarks
55684
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
55685
+ * @beta
55686
+ */
55672
55687
  toJSON(): Excel.Interfaces.CustomFunctionManagerData;
55673
55688
  }
55674
55689
  /**
@@ -139242,12 +139257,12 @@ declare namespace PowerPoint {
139242
139257
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
139243
139258
  context: RequestContext;
139244
139259
  /**
139245
- * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
139260
+ * Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
139246
139261
  *
139247
139262
  * @remarks
139248
139263
  * [Api set: PowerPointApi 1.4]
139249
139264
  */
139250
- visible: boolean;
139265
+ visible: boolean | null;
139251
139266
  /**
139252
139267
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
139253
139268
  *
@@ -141050,12 +141065,12 @@ declare namespace PowerPoint {
141050
141065
  /** An interface for updating data on the `BulletFormat` object, for use in `bulletFormat.set({ ... })`. */
141051
141066
  interface BulletFormatUpdateData {
141052
141067
  /**
141053
- * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
141068
+ * Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
141054
141069
  *
141055
141070
  * @remarks
141056
141071
  * [Api set: PowerPointApi 1.4]
141057
141072
  */
141058
- visible?: boolean;
141073
+ visible?: boolean | null;
141059
141074
  }
141060
141075
  /** An interface for updating data on the `ParagraphFormat` object, for use in `paragraphFormat.set({ ... })`. */
141061
141076
  interface ParagraphFormatUpdateData {
@@ -141950,12 +141965,12 @@ declare namespace PowerPoint {
141950
141965
  /** An interface describing the data returned by calling `bulletFormat.toJSON()`. */
141951
141966
  interface BulletFormatData {
141952
141967
  /**
141953
- * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
141968
+ * Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
141954
141969
  *
141955
141970
  * @remarks
141956
141971
  * [Api set: PowerPointApi 1.4]
141957
141972
  */
141958
- visible?: boolean;
141973
+ visible?: boolean | null;
141959
141974
  }
141960
141975
  /** An interface describing the data returned by calling `paragraphFormat.toJSON()`. */
141961
141976
  interface ParagraphFormatData {
@@ -143779,7 +143794,7 @@ declare namespace PowerPoint {
143779
143794
  */
143780
143795
  $all?: boolean;
143781
143796
  /**
143782
- * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
143797
+ * Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
143783
143798
  *
143784
143799
  * @remarks
143785
143800
  * [Api set: PowerPointApi 1.4]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.606",
3
+ "version": "1.0.608",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "258cabee991051611e0719a986dd4678c1d94bfee6996bed7021f90334e81a57",
49
+ "typesPublisherContentHash": "82e4b8a8f0648c8fefb3a13c05c49eacd12e5cbf7dbf404729b4e7327d6c0ba5",
50
50
  "typeScriptVersion": "5.1",
51
51
  "nonNpm": true
52
52
  }