We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c27939f commit 804f5d4Copy full SHA for 804f5d4
src/result/result.ts
@@ -1,7 +1,7 @@
1
import { IMaybe, maybe, none } from '../maybe/public_api'
2
import { IResultMatchPattern, IResult } from './result.interface'
3
4
-export abstract class Result<TOk, TFail> {
+export abstract class Result<TOk, TFail> implements IResult<TOk, TFail> {
5
public static ok<TOk, TFail>(value: TOk) {
6
return new OkResult<TOk, TFail>(value)
7
}
0 commit comments