Skip to content

Commit d73aa54

Browse files
committed
fix(json-crdt-extensions): 🐛 assign type
1 parent 4b8dee4 commit d73aa54

File tree

1 file changed

+1
-2
lines changed
  • src/json-crdt-extensions/peritext/block

1 file changed

+1
-2
lines changed

src/json-crdt-extensions/peritext/block/Block.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ export class Block<T = string, Attr = unknown> extends Range<T> implements IBloc
114114
let isFirst = true;
115115
let next = iterator();
116116
let closed = false;
117-
const newIterator = () => {
118-
// START: while (true) {}
117+
const newIterator: UndefIterator<Inline<T>> = () => {
119118
if (closed) return;
120119
const pair = next;
121120
next = iterator();

0 commit comments

Comments
 (0)