Skip to content

Commit 096ee67

Browse files
committed
fix: address reviewer feedback - update TypeScript definitions and revert unnecessary mocha version change
1 parent a0ef684 commit 096ee67

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"jsdoc": "^4.0.4",
3030
"jsdom": "^9.12.0",
3131
"jsdom-global": "2.1.1",
32-
"mocha": "^7.2.0",
32+
"mocha": "^6.2.3",
3333
"nyc": "^14.1.1",
3434
"rimraf": "^3.0.0",
3535
"sinon": "^6.1.4",

types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,9 +1102,7 @@ declare module 'cloudinary' {
11021102

11031103
function restore(public_ids: string[], callback?: ResponseCallback): Promise<any>;
11041104

1105-
function restore_by_asset_ids(asset_ids: string[] | string, options?: AdminAndResourceOptions, callback?: ResponseCallback): Promise<ResourceApiResponse>;
1106-
1107-
function restore_by_asset_ids(asset_ids: string[] | string, callback?: ResponseCallback): Promise<ResourceApiResponse>;
1105+
function restore_by_asset_ids(asset_ids: string[] | string, options?: AdminAndResourceOptions, callback?: ResponseCallback): Promise<ResourceApiResponse>;
11081106

11091107
function root_folders(callback?: ResponseCallback, options?: AdminApiOptions): Promise<any>;
11101108

0 commit comments

Comments
 (0)