Skip to content

Commit 90c99dc

Browse files
authored
fix: change converter return type to a promise (#23)
1 parent b0df26e commit 90c99dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ declare namespace JsonSchemaToOpenapiSchema {
77
declare function JsonSchemaToOpenapiSchema<T = Record<string | number, any>>(
88
schema: Record<string | number, any>,
99
options?: JsonSchemaToOpenapiSchema.Options
10-
): T;
10+
): Promise<T>;
1111
export = JsonSchemaToOpenapiSchema;

0 commit comments

Comments
 (0)