diff --git a/types/index.d.ts b/types/index.d.ts index 1d6086af..74f9e67a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -943,7 +943,7 @@ declare module 'cloudinary' { function create_zip(options?: ArchiveApiOptions, callback?: ResponseCallback): Promise; - function destroy(public_id: string, options?: { resource_types?: ResourceType, type?: DeliveryType, invalidate?: boolean }, callback?: ResponseCallback,): Promise; + function destroy(public_id: string, options?: { resource_type?: ResourceType, type?: DeliveryType, invalidate?: boolean }, callback?: ResponseCallback,): Promise; function destroy(public_id: string, callback?: ResponseCallback,): Promise;