Skip to content

Commit 67b5adf

Browse files
committed
fix old comment
1 parent d3f638a commit 67b5adf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/parser/typescript/analyze/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ function analyzeRuneVariables(
440440
}
441441
// See https://github.com/sveltejs/svelte/blob/3fa3dd78a1cbaa88a1571977b76bf6f02ed4231d/packages/svelte/types/index.d.ts#L3416
442442
case "$props": {
443-
// Use type parameters to avoid `@typescript-eslint/no-unsafe-assignment` errors.
444443
// NOTE: In the Svelte repository's `index.d.ts`, the return type is any, but that triggers `@typescript-eslint/no-unsafe-assignment`. To avoid this, use generics here.
445444
appendDeclareFunctionVirtualScripts(globalName, ["<T>(): T"]);
446445
appendDeclareNamespaceVirtualScripts(globalName, [

0 commit comments

Comments
 (0)