typescript(option): fix: fixed the exporting by misstake of Some and None
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
92a5ecbca1
commit
aed68688a1
|
@ -5,8 +5,8 @@ type NominalTyped<T, U> = {
|
|||
value: U
|
||||
}
|
||||
|
||||
export type None = NominalTyped<typeof none, null>
|
||||
export type Some<T> = NominalTyped<typeof some, T>
|
||||
type None = NominalTyped<typeof none, null>
|
||||
type Some<T> = NominalTyped<typeof some, T>
|
||||
|
||||
export type Option<T> = Some<T> | None
|
||||
|
||||
|
|
Loading…
Reference in a new issue