Skip to content

Commit

Permalink
Add missing resultify export
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor-obrebski committed Dec 22, 2023
1 parent b2461c7 commit 244c8b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "type-safe-errors",
"version": "0.5.0",
"version": "0.5.1",
"description": "Simple type-safe errors for TypeScript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import type {
import { Result as ResultVal, Ok as OkVal, Err as ErrVal } from './result';

export { UnknownError } from './common-result';
export { resultify } from './resultify';

export const Result = ResultVal;
export type Result<TValue, TError> = ResultType<TValue, TError>;
Expand Down

0 comments on commit 244c8b2

Please sign in to comment.