We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e22ac3 commit 02f48a1Copy full SHA for 02f48a1
packages/svelte/src/compiler/utils/ast.js
@@ -235,6 +235,7 @@ export function extract_identifiers_from_destructuring(node, nodes = []) {
235
236
/**
237
* Extracts all destructured assignments from a pattern.
238
+ * For each `id` in the returned `inserts`, make sure to adjust the `name`.
239
* @param {ESTree.Node} param
240
* @param {ESTree.Expression} initial
241
* @returns {{ inserts: Array<{ id: ESTree.Identifier, value: ESTree.Expression }>, paths: DestructuredAssignment[] }}
0 commit comments