Skip to content

Commit 4a4c5ba

Browse files
fix: removing any as expected type
1 parent f2fee4c commit 4a4c5ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,9 +1098,9 @@ declare module 'cloudinary' {
10981098
function restore(public_ids: string[], options?: AdminApiOptions | {
10991099
resource_type: ResourceType,
11001100
type: DeliveryType
1101-
}, callback?: ResponseCallback): Promise<any>;
1101+
}, callback?: ResponseCallback): Promise<ResourceApiResponse>;
11021102

1103-
function restore(public_ids: string[], callback?: ResponseCallback): Promise<any>;
1103+
function restore(public_ids: string[], callback?: ResponseCallback): Promise<ResourceApiResponse>;
11041104

11051105
function restore_by_asset_ids(asset_ids: string[], options?: AdminAndResourceOptions, callback?: ResponseCallback): Promise<ResourceApiResponse>;
11061106

0 commit comments

Comments
 (0)