Skip to content

Commit fa34d3d

Browse files
committed
lint
1 parent 7166c2d commit fa34d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,5 +447,5 @@ const RAW_TEXT_ELEMENTS = /** @type {const} */ (['textarea', 'script', 'style',
447447

448448
/** @param {string} name */
449449
export function is_raw_text_element(name) {
450-
return RAW_TEXT_ELEMENTS.includes(name);
450+
return RAW_TEXT_ELEMENTS.includes(/** @type {RAW_TEXT_ELEMENTS[number]} */ (name));
451451
}

0 commit comments

Comments
 (0)