From e9496d3a4b9718b16a8cbc1c1fa90e9e98cd6791 Mon Sep 17 00:00:00 2001 From: Zoey Truong <77694312+zoeytruong@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:06:36 -0700 Subject: [PATCH] fix tags type issue --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 18ff8d9e..2967accb 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -861,7 +861,7 @@ declare module 'cloudinary' { function sub_folders(root_folder: string, callback?: ResponseCallback): Promise; - function tags(callback?: ResponseCallback, options?: AdminApiOptions | { max_results?: number, next_cursor?: string, prefix?: string }): Promise; + function tags(options?: AdminApiOptions | { max_results?: number, next_cursor?: string, prefix?: string }, callback?: ResponseCallback): Promise; function transformation(transformation: TransformationOptions, options?: AdminApiOptions | { max_results?: number, next_cursor?: string, named?: boolean }, callback?: ResponseCallback): Promise;