@metaplex-foundation/umi-options
Advanced tools
Comparing version 0.8.2-rc.0 to 0.8.2-rc.1
@@ -16,2 +16,10 @@ /** | ||
/** | ||
* Defines a looser type that can be used when serializing an {@link Option}. | ||
* This allows us to pass null or the Option value directly whilst still | ||
* supporting the Option type for use-cases that need more type safety. | ||
* | ||
* @category Utils — Options | ||
*/ | ||
export type OptionOrNullable<T> = Option<T> | Nullable<T>; | ||
/** | ||
* Represents an option of type `T` that has a value. | ||
@@ -18,0 +26,0 @@ * |
{ | ||
"name": "@metaplex-foundation/umi-options", | ||
"version": "0.8.2-rc.0", | ||
"version": "0.8.2-rc.1", | ||
"description": "A TypeScript implementation of Rust Options", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -18,2 +18,11 @@ /** | ||
/** | ||
* Defines a looser type that can be used when serializing an {@link Option}. | ||
* This allows us to pass null or the Option value directly whilst still | ||
* supporting the Option type for use-cases that need more type safety. | ||
* | ||
* @category Utils — Options | ||
*/ | ||
export type OptionOrNullable<T> = Option<T> | Nullable<T>; | ||
/** | ||
* Represents an option of type `T` that has a value. | ||
@@ -20,0 +29,0 @@ * |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
39959
621