From bcd22d9f208ae9bc833e4c691c6f7f90b30bf7df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20Obr=C4=99bski?= Date: Fri, 10 Mar 2023 15:41:49 +0100 Subject: [PATCH] Bump to 0.2.8 --- package-lock.json | 4 ++-- package.json | 2 +- src/result.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5aba0cb..31914f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "type-safe-errors", - "version": "0.2.7", + "version": "0.2.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "type-safe-errors", - "version": "0.2.7", + "version": "0.2.8", "license": "MIT", "devDependencies": { "@types/chai": "^4.3.1", diff --git a/package.json b/package.json index c4e0360..6b273ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "type-safe-errors", - "version": "0.2.7", + "version": "0.2.8", "description": "Simple type-safe errors for TypeScript", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/result.ts b/src/result.ts index 4b2aab6..70f3030 100644 --- a/src/result.ts +++ b/src/result.ts @@ -35,7 +35,7 @@ const Result: ResultNamespace = { return { isError: false, value: values }; }); - return commonResultFactory(resultPromise); + return commonResultFactory(resultPromise) as any; }, };