@scalar/types
Advanced tools
Comparing version 0.0.24 to 0.0.25
# @scalar/types | ||
## 0.0.25 | ||
### Patch Changes | ||
- c263aaf: chore: improve the comment for UnknownObject | ||
## 0.0.24 | ||
@@ -4,0 +10,0 @@ |
@@ -282,3 +282,3 @@ import type { OpenAPI, OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types'; | ||
*/ | ||
content?: string | Record<string, any> | (() => Record<string, any>); | ||
content?: string | Record<string, any> | (() => Record<string, any>) | null; | ||
}; | ||
@@ -285,0 +285,0 @@ export type Schema = { |
/** | ||
* When the object values are unknown | ||
* Represents an object with string keys and unknown values. | ||
* Useful for handling objects with dynamic or unknown value types. | ||
*/ | ||
export type UnknownObject = Record<string, unknown>; | ||
//# sourceMappingURL=utility-types.d.ts.map |
@@ -10,3 +10,3 @@ { | ||
"type": "git", | ||
"url": "https://github.com/scalar/scalar.git", | ||
"url": "git+https://github.com/scalar/scalar.git", | ||
"directory": "packages/types" | ||
@@ -20,3 +20,3 @@ }, | ||
], | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"engines": { | ||
@@ -23,0 +23,0 @@ "node": ">=18" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
28507
390