We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65c8295 commit cb2869cCopy full SHA for cb2869c
1 file changed
src/compound.ts
@@ -14,8 +14,8 @@ export type Result<T> =
14
| Readonly<{ type: "error"; error: ResultError }>;
15
16
export class IterableResult<T> {
17
- #evaluated: Array<Result<T>> = [];
18
- #iterator: Iterator<Result<T>>;
+ readonly #evaluated: Array<Result<T>> = [];
+ readonly #iterator: Iterator<Result<T>>;
19
constructor(
20
evaluated: ReadonlyArray<Result<T>>,
21
generator: () => Iterator<Result<T>>,
0 commit comments