Shouldn't the return type be a Promise? i.e. ```diff declare function JsonSchemaToOpenapiSchema<T = Record<string | number, any>>( schema: Record<string | number, any>, options?: JsonSchemaToOpenapiSchema.Options - ): T; + ): Promise<T>; ``` _Originally posted by @apancutt in https://github.com/openapi-contrib/json-schema-to-openapi-schema/issues/21#issuecomment-817918432_