Skip to content

Commit

Permalink
fix(dcons): add missing explicit return type (TS4.4)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 8, 2021
1 parent 7eba2ca commit 98a5c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dcons/src/sol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class SOL<T> extends DCons<T> {
return this;
}

setTail(value: T) {
setTail(value: T): SOL<T> {
if (this.tail) {
this.tail.value = value;
this._reorder(this, this.tail);
Expand Down

0 comments on commit 98a5c5b

Please sign in to comment.