From 0737def86a6bc78273aa5e519f530942a8ed3f3c Mon Sep 17 00:00:00 2001 From: bkiac <24522620+bkiac@users.noreply.github.com> Date: Sat, 11 Nov 2023 23:12:31 +0100 Subject: [PATCH] Remove err.get --- src/result/err.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/result/err.ts b/src/result/err.ts index dc3aafe..a1a29c9 100644 --- a/src/result/err.ts +++ b/src/result/err.ts @@ -76,10 +76,6 @@ export class ErrImpl implements ErrVariant, ResultMethods { return defaultValue(this.value) } - get() { - return this.value - } - match(_ok: (value: never) => A, err: (error: E) => B) { return err(this.value) }