1
Fork 0

typescript(option): fix: fixed the exporting by misstake of Some and None

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-12-22 17:50:25 +02:00 committed by prescientmoon
parent 92a5ecbca1
commit aed68688a1
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -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