Skip to content

Commit f5c6809

Browse files
Fix return type of api_url function(return String instead of Promise) (#483)
1 parent 0ac8957 commit f5c6809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ declare module 'cloudinary' {
706706

707707
function api_sign_request(params_to_sign: object, api_secret: string): string;
708708

709-
function api_url(action?: string, options?: ConfigAndUrlOptions): Promise<any>;
709+
function api_url(action?: string, options?: ConfigAndUrlOptions): string;
710710

711711
function url(public_id?: string, options?: TransformationOptions | ConfigAndUrlOptions): string;
712712

0 commit comments

Comments
 (0)