Skip to content

Commit f1ab829

Browse files
committed
fix: types in JSDoc
1 parent d6dd3fc commit f1ab829

File tree

1 file changed

+6
-4
lines changed
  • packages/svelte/src/runtime/internal

1 file changed

+6
-4
lines changed

packages/svelte/src/runtime/internal/dom.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import { ResizeObserverSingleton } from './ResizeObserverSingleton.js';
21
import { contenteditable_truthy_values, has_prop } from './utils.js';
2+
3+
import { ResizeObserverSingleton } from './ResizeObserverSingleton.js';
4+
35
// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM
46
// at the end of hydration without touching the remaining nodes.
57
let is_hydrating = false;
@@ -624,9 +626,9 @@ function init_claim_info(nodes) {
624626
* @template {ChildNodeEx} R
625627
* @param {ChildNodeArray} nodes
626628
* @param {(node: ChildNodeEx) => node is R} predicate
627-
* @param {(node: ChildNodeEx) => ChildNodeEx | undefined} processNode
628-
* @param {() => R} createNode
629-
* @param {boolean} dontUpdateLastIndex
629+
* @param {(node: ChildNodeEx) => ChildNodeEx | undefined} process_node
630+
* @param {() => R} create_node
631+
* @param {boolean} dont_update_last_index
630632
* @returns {R}
631633
*/
632634
function claim_node(nodes, predicate, process_node, create_node, dont_update_last_index = false) {

0 commit comments

Comments
 (0)