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 2c97296 commit beca6deCopy full SHA for beca6de
src/array_result.ts
@@ -29,7 +29,7 @@ export class ArrayResult<T> {
29
return new ArrayResult(undefined, errors);
30
}
31
static empty(): ArrayResult<never> {
32
- return ArrayResult.empty();
+ return new ArrayResult();
33
34
isError(): boolean {
35
return this.array.length === 0;
0 commit comments