Skip to content

Commit bf9c305

Browse files
committed
remove unused + fix JSDoc
1 parent 8f3c108 commit bf9c305

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ export function RegularElement(node, context) {
224224
build_set_attributes(
225225
attributes,
226226
class_directives,
227-
style_directives,
228227
context,
229228
node,
230229
node_id,
@@ -310,7 +309,6 @@ export function RegularElement(node, context) {
310309
attribute,
311310
attributes,
312311
class_directives,
313-
style_directives,
314312
context
315313
);
316314
if (is) is_attributes_reactive = true;
@@ -555,7 +553,6 @@ export function build_class_directives_object(class_directives, context) {
555553
* @param {AST.Attribute} attribute
556554
* @param {Array<AST.Attribute | AST.SpreadAttribute>} attributes
557555
* @param {AST.ClassDirective[]} class_directives
558-
* @param {AST.StyleDirective[]} style_directives
559556
* @param {ComponentContext} context
560557
* @returns {boolean}
561558
*/

packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteElement.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ export function SvelteElement(node, context) {
109109
is_attributes_reactive = build_set_attributes(
110110
attributes,
111111
class_directives,
112-
style_directives,
113112
inner_context,
114113
node,
115114
element_id,

packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { build_template_chunk, get_expression_id } from './utils.js';
1313
/**
1414
* @param {Array<AST.Attribute | AST.SpreadAttribute>} attributes
1515
* @param {AST.ClassDirective[]} class_directives
16-
* @param {AST.StyleDirective[]} style_directives
1716
* @param {ComponentContext} context
1817
* @param {AST.RegularElement | AST.SvelteElement} element
1918
* @param {Identifier} element_id

packages/svelte/src/internal/shared/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function clsx(value) {
4242
}
4343

4444
/**
45-
* @param {any} clazz
45+
* @param {any} value
4646
* @param {string|null} [hash]
4747
* @param {Record<string,boolean>} [classes]
4848
* @returns {string|null}

0 commit comments

Comments
 (0)