Skip to content

Commit 1ffde9b

Browse files
committed
typeing for bound generator
1 parent e4326bd commit 1ffde9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/randomator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Randomator<T = unknown> {
2121

2222
constructor(private _value: GenerateFunction<T>) {}
2323

24-
get $() {
24+
get $(): GenerateFunction<T> {
2525
return this.value.bind(this);
2626
}
2727

0 commit comments

Comments
 (0)