From aed68688a1fbe64208bdd5ffc3549c0c394f0491 Mon Sep 17 00:00:00 2001 From: Matei Adriel <rafaeladriel11@gmail.com> Date: Sun, 22 Dec 2019 17:50:25 +0200 Subject: [PATCH] typescript(option): fix: fixed the exporting by misstake of Some and None Signed-off-by: prescientmoon <git@moonythm.dev> --- typescript/option/src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typescript/option/src/types.ts b/typescript/option/src/types.ts index e1e15af..83ff10e 100644 --- a/typescript/option/src/types.ts +++ b/typescript/option/src/types.ts @@ -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