Skip to content

Commit 804f5d4

Browse files
fix: Result implements IResult (#140)
1 parent c27939f commit 804f5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/result/result.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { IMaybe, maybe, none } from '../maybe/public_api'
22
import { IResultMatchPattern, IResult } from './result.interface'
33

4-
export abstract class Result<TOk, TFail> {
4+
export abstract class Result<TOk, TFail> implements IResult<TOk, TFail> {
55
public static ok<TOk, TFail>(value: TOk) {
66
return new OkResult<TOk, TFail>(value)
77
}

0 commit comments

Comments
 (0)