From 445bab939e64b4915a1e59f51a9c6a06cb791508 Mon Sep 17 00:00:00 2001
From: Matei Adriel <rafaeladriel11@gmail.com>
Date: Mon, 23 Dec 2019 14:24:23 +0200
Subject: [PATCH] typescript(option): refactor: no longer using the useless
 some symbol typescript(option): typescript(option): The symbol was never
 actually used so declaring it is good enough

Signed-off-by: prescientmoon <git@moonythm.dev>
---
 typescript/option/src/internals.ts | 1 -
 typescript/option/src/types.ts     | 5 ++++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/typescript/option/src/internals.ts b/typescript/option/src/internals.ts
index 0e16212..54e7cd7 100644
--- a/typescript/option/src/internals.ts
+++ b/typescript/option/src/internals.ts
@@ -1,4 +1,3 @@
 export const identity = <T>(v: T) => v
 
-export const some = Symbol('some')
 export const none = Symbol('none')
diff --git a/typescript/option/src/types.ts b/typescript/option/src/types.ts
index ab6120b..016853e 100644
--- a/typescript/option/src/types.ts
+++ b/typescript/option/src/types.ts
@@ -1,6 +1,9 @@
-import { some, none } from './internals'
+import { none } from './internals'
 import { Brand } from 'utility-types'
 
+// This is never actually used outside of typing so we can just declare it
+declare const some: unique symbol
+
 type None = Brand<void, typeof none>
 type Some<T> = Brand<T, typeof some>