Skip to content

Commit 9117696

Browse files
[office-js-preview] (PowerPoint) Ignore redundant undefined error for specific cases (DefinitelyTyped#72842)
1 parent 46d80e9 commit 9117696

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

types/office-js-preview/index.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136631,7 +136631,8 @@ declare namespace PowerPoint {
136631136631
* @param index Optional. Specifies the zero-based index where the new columns are added. Existing columns starting at the index location are shifted right. If the index value is undefined, null, -1, or greater than the number of columns in the table, the new columns are added at the end of the table.
136632136632
* @param count Optional. The number of columns to add. If the value is undefined or 0, only one column is added.
136633136633
*/
136634-
add(index?: number | null, count?: number): void;
136634+
// eslint-disable-next-line @definitelytyped/redundant-undefined
136635+
add(index?: number | null | undefined, count?: number | undefined): void;
136635136636
/**
136636136637
* Deletes the specified columns from the collection.
136637136638
*
@@ -136836,7 +136837,8 @@ declare namespace PowerPoint {
136836136837
* @param index Optional. Specifies the zero-based index where the new rows are added. Existing rows starting at the index location are shifted down. If the index value is undefined, null, -1, or greater than the number of rows in the table, the new rows are added at the end of the table.
136837136838
* @param count Optional. The number of rows to add. If the value is undefined or 0, only one row is added.
136838136839
*/
136839-
add(index?: number | null, count?: number): void;
136840+
// eslint-disable-next-line @definitelytyped/redundant-undefined
136841+
add(index?: number | null | undefined, count?: number | undefined): void;
136840136842
/**
136841136843
* Deletes the specified rows from the collection.
136842136844
*

0 commit comments

Comments
 (0)