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 7b7e8ef commit 85c1426Copy full SHA for 85c1426
src/parser/typescript/analyze/index.ts
@@ -441,7 +441,7 @@ function analyzeRuneVariables(
441
// See https://github.com/sveltejs/svelte/blob/3fa3dd78a1cbaa88a1571977b76bf6f02ed4231d/packages/svelte/types/index.d.ts#L3416
442
case "$props": {
443
// Use type parameters to avoid `@typescript-eslint/no-unsafe-assignment` errors.
444
- appendDeclareFunctionVirtualScripts(globalName, ["any"]);
+ appendDeclareFunctionVirtualScripts(globalName, ["(): any"]);
445
appendDeclareNamespaceVirtualScripts(globalName, [
446
"export function id(): string;",
447
]);
0 commit comments