Skip to content

Commit f6b26a3

Browse files
committed
add both possibilities for my function to the typescript file
1 parent d65bbff commit f6b26a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,10 @@ 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>;
1108+
11051109
function root_folders(callback?: ResponseCallback, options?: AdminApiOptions): Promise<any>;
11061110

11071111
function search(params: string, options?: AdminApiOptions, callback?: ResponseCallback): Promise<any>;

0 commit comments

Comments
 (0)