Skip to content

Commit 7edb457

Browse files
committed
Update morphlex.ts
1 parent bf208fb commit 7edb457

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/morphlex.ts

-4
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,6 @@ class Morph {
462462
}
463463
}
464464

465-
// We cannot use `instanceof` when nodes might be from different documents,
466-
// so we use type guards instead. This keeps TypeScript happy, while doing
467-
// the necessary checks at runtime.
468-
469465
function writableNode<N extends Node>(node: ReadonlyNode<N>): N {
470466
return node as N;
471467
}

0 commit comments

Comments
 (0)