diff --git a/src/option/some.ts b/src/option/some.ts index 8e2602d..2d8b588 100644 --- a/src/option/some.ts +++ b/src/option/some.ts @@ -66,7 +66,7 @@ export class SomeImpl implements SomeVariant, OptionMethods { } xor(other: Option) { - return other.some ? other : this + return other.some ? None : this } into() {