Skip to content

Commit c735f2b

Browse files
committed
remove unnecessary coercion
1 parent 4d62843 commit c735f2b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/svelte/src/internal/client/operations.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ export function init_operations() {
6161
if (node_prototype !== undefined) {
6262
return;
6363
}
64-
node_prototype = /** @type {Node} */ (Node.prototype);
65-
element_prototype = /** @type {Element} */ (Element.prototype);
66-
text_prototype = /** @type {Text} */ (Text.prototype);
64+
65+
node_prototype = Node.prototype;
66+
element_prototype = Element.prototype;
67+
text_prototype = Text.prototype;
6768
map_prototype = Map.prototype;
6869
append_child_method = node_prototype.appendChild;
6970
clone_node_method = node_prototype.cloneNode;

0 commit comments

Comments
 (0)