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 acad4af commit 9563557Copy full SHA for 9563557
.changeset/healthy-boxes-laugh.md
@@ -0,0 +1,5 @@
1
+---
2
+"sv": patch
3
4
+
5
+fix: updated jsdoc type for `paraglide` demo
packages/addons/paraglide/index.ts
@@ -250,7 +250,7 @@ export default defineAddon({
250
scriptCode.append('\n\n');
251
scriptCode.append(dedent`
252
${ts('', '/**')}
253
- ${ts('', '* @param import("$lib/paraglide/runtime").AvailableLanguageTag newLanguage')}
+ ${ts('', '* @param {import("$lib/paraglide/runtime").AvailableLanguageTag} newLanguage')}
254
${ts('', '*/')}
255
function switchToLanguage(newLanguage${ts(': AvailableLanguageTag')}) {
256
const canonicalPath = i18n.route($page.url.pathname);
0 commit comments