├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── feature_request.yml │ └── something-else.md └── workflows │ ├── CI.yml │ ├── DeployExtensionsProd.yml │ ├── DeploySvelte2tsxProd.yml │ ├── DeploySvelteCheckProd.yml │ ├── DeploySvelteLanguageServerProd.yml │ └── DeployTypescriptPluginProd.yaml ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── LICENSE ├── README.md ├── docs ├── README.md ├── internal │ ├── deployment.md │ └── overview.md └── preprocessors │ ├── in-general.md │ ├── other-css-preprocessors.md │ ├── scss-less.md │ └── typescript.md ├── package.json ├── packages ├── language-server │ ├── .gitignore │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── bin │ │ └── server.js │ ├── package.json │ ├── src │ │ ├── importPackage.ts │ │ ├── index.ts │ │ ├── lib │ │ │ ├── DiagnosticsManager.ts │ │ │ ├── FallbackWatcher.ts │ │ │ ├── documentHighlight │ │ │ │ └── wordHighlight.ts │ │ │ ├── documents │ │ │ │ ├── Document.ts │ │ │ │ ├── DocumentBase.ts │ │ │ │ ├── DocumentManager.ts │ │ │ │ ├── DocumentMapper.ts │ │ │ │ ├── configLoader.ts │ │ │ │ ├── fileCollection.ts │ │ │ │ ├── index.ts │ │ │ │ ├── parseHtml.ts │ │ │ │ └── utils.ts │ │ │ ├── foldingRange │ │ │ │ └── indentFolding.ts │ │ │ └── semanticToken │ │ │ │ └── semanticTokenLegend.ts │ │ ├── logger.ts │ │ ├── ls-config.ts │ │ ├── plugins │ │ │ ├── PluginHost.ts │ │ │ ├── css │ │ │ │ ├── CSSDocument.ts │ │ │ │ ├── CSSPlugin.ts │ │ │ │ ├── FileSystemProvider.ts │ │ │ │ ├── StyleAttributeDocument.ts │ │ │ │ ├── features │ │ │ │ │ ├── getIdClassCompletion.ts │ │ │ │ │ └── svelte-selectors.ts │ │ │ │ ├── global-vars.ts │ │ │ │ └── service.ts │ │ │ ├── documentContext.ts │ │ │ ├── html │ │ │ │ ├── HTMLPlugin.ts │ │ │ │ └── dataProvider.ts │ │ │ ├── index.ts │ │ │ ├── interfaces.ts │ │ │ ├── svelte │ │ │ │ ├── SvelteDocument.ts │ │ │ │ ├── SveltePlugin.ts │ │ │ │ └── features │ │ │ │ │ ├── SvelteTags.ts │ │ │ │ │ ├── getCodeActions │ │ │ │ │ ├── getQuickfixes.ts │ │ │ │ │ ├── getRefactorings.ts │ │ │ │ │ └── index.ts │ │ │ │ │ ├── getCompletions.ts │ │ │ │ │ ├── getDiagnostics.ts │ │ │ │ │ ├── getHoverInfo.ts │ │ │ │ │ ├── getModifierData.ts │ │ │ │ │ ├── getSelectionRanges.ts │ │ │ │ │ └── utils.ts │ │ │ └── typescript │ │ │ │ ├── ComponentInfoProvider.ts │ │ │ │ ├── DocumentMapper.ts │ │ │ │ ├── DocumentSnapshot.ts │ │ │ │ ├── LSAndTSDocResolver.ts │ │ │ │ ├── SnapshotManager.ts │ │ │ │ ├── TypeScriptPlugin.ts │ │ │ │ ├── features │ │ │ │ ├── CallHierarchyProvider.ts │ │ │ │ ├── CodeActionsProvider.ts │ │ │ │ ├── CodeLensProvider.ts │ │ │ │ ├── CompletionProvider.ts │ │ │ │ ├── DiagnosticsProvider.ts │ │ │ │ ├── DocumentHighlightProvider.ts │ │ │ │ ├── FindComponentReferencesProvider.ts │ │ │ │ ├── FindFileReferencesProvider.ts │ │ │ │ ├── FindReferencesProvider.ts │ │ │ │ ├── FoldingRangeProvider.ts │ │ │ │ ├── HoverProvider.ts │ │ │ │ ├── ImplementationProvider.ts │ │ │ │ ├── InlayHintProvider.ts │ │ │ │ ├── RenameProvider.ts │ │ │ │ ├── SelectionRangeProvider.ts │ │ │ │ ├── SemanticTokensProvider.ts │ │ │ │ ├── SignatureHelpProvider.ts │ │ │ │ ├── TypeDefinitionProvider.ts │ │ │ │ ├── UpdateImportsProvider.ts │ │ │ │ ├── getDirectiveCommentCompletions.ts │ │ │ │ ├── getJsDocTemplateCompletion.ts │ │ │ │ └── utils.ts │ │ │ │ ├── module-loader.ts │ │ │ │ ├── previewer.ts │ │ │ │ ├── service.ts │ │ │ │ ├── serviceCache.ts │ │ │ │ ├── svelte-ast-utils.ts │ │ │ │ ├── svelte-sys.ts │ │ │ │ └── utils.ts │ │ ├── server.ts │ │ ├── svelte-check.ts │ │ └── utils.ts │ ├── test │ │ ├── lib │ │ │ ├── documents │ │ │ │ ├── Document.test.ts │ │ │ │ ├── DocumentManager.test.ts │ │ │ │ ├── DocumentMapper.test.ts │ │ │ │ ├── configLoader.test.ts │ │ │ │ ├── fileCollection.test.ts │ │ │ │ ├── parseHtml.test.ts │ │ │ │ └── utils.test.ts │ │ │ └── indentFolding.test.ts │ │ ├── plugins │ │ │ ├── PluginHost.test.ts │ │ │ ├── css │ │ │ │ ├── CSSPlugin.test.ts │ │ │ │ └── features │ │ │ │ │ └── getIdClassCompletion.test.ts │ │ │ ├── html │ │ │ │ └── HTMLPlugin.test.ts │ │ │ ├── svelte │ │ │ │ ├── SvelteDocument.test.ts │ │ │ │ ├── SveltePlugin.test.ts │ │ │ │ ├── features │ │ │ │ │ ├── getCodeAction.test.ts │ │ │ │ │ ├── getCompletions.test.ts │ │ │ │ │ ├── getDiagnostics.test.ts │ │ │ │ │ ├── getHoverInfo.test.ts │ │ │ │ │ └── getSelectionRange.test.ts │ │ │ │ └── testfiles │ │ │ │ │ ├── diagnostics-module-and-instance.svelte │ │ │ │ │ ├── diagnostics-module.svelte │ │ │ │ │ ├── diagnostics.svelte │ │ │ │ │ ├── svelte-anchor-missing-attribute-code-action-rel.svelte │ │ │ │ │ ├── svelte-anchor-missing-attribute-code-action.svelte │ │ │ │ │ ├── svelte-ignore-code-action-ts.svelte │ │ │ │ │ ├── svelte-ignore-code-action.svelte │ │ │ │ │ └── tsconfig.json │ │ │ └── typescript │ │ │ │ ├── TypescriptPlugin.test.ts │ │ │ │ ├── features │ │ │ │ ├── CallHierarchyProvider.test.ts │ │ │ │ ├── CodeActionsProvider.test.ts │ │ │ │ ├── CodeLensProvider.test.ts │ │ │ │ ├── CompletionProvider.test.ts │ │ │ │ ├── DiagnosticsProvider.test.ts │ │ │ │ ├── DocumentHighlightProvider.test.ts │ │ │ │ ├── FindComponentReferencesProvider.test.ts │ │ │ │ ├── FindFileReferencesProvider.test.ts │ │ │ │ ├── FindReferencesProvider.test.ts │ │ │ │ ├── HoverProvider.test.ts │ │ │ │ ├── ImplemenationProvider.test.ts │ │ │ │ ├── RenameProvider.test.ts │ │ │ │ ├── SelectionRangeProvider.test.ts │ │ │ │ ├── SemanticTokensProvider.test.ts │ │ │ │ ├── SignatureHelpProvider.test.ts │ │ │ │ ├── TypeDefinitionProvider.test.ts │ │ │ │ ├── UpdateImportsProvider.test.ts │ │ │ │ ├── diagnostics │ │ │ │ │ ├── fixtures │ │ │ │ │ │ ├── $$Props-invalid-alias │ │ │ │ │ │ │ ├── $$Props-invalid-alias1 │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── $$Props-invalid-alias2 │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── $$Props-invalid-alias3 │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── $$Props-invalid-alias4 │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── $$Props-invalid-alias5 │ │ │ │ │ │ │ │ ├── ItemData.ts │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── $$Props-invalid-alias6 │ │ │ │ │ │ │ │ ├── ItemData.ts │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ └── $$Props-invalid-alias7 │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$events-usage │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$events │ │ │ │ │ │ │ ├── expected_svelte_5.json │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$generic-filter-out-unused │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$props-invalid1 │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$props-invalid2 │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$props-invalid3 │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$props-usage │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$props-valid │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$props-valid2 │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$props │ │ │ │ │ │ │ ├── $$props.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$slots-usage │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$slots │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $bindable-reassign.v5 │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $store-bind │ │ │ │ │ │ │ ├── components.d.ts │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $store-control-flow │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $store-undefined │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $store-uninitialized │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $store-wrong-usage │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── accessors-customElement-configs │ │ │ │ │ │ │ ├── accessors │ │ │ │ │ │ │ │ ├── accessors-and-option.svelte │ │ │ │ │ │ │ │ ├── accessors.svelte │ │ │ │ │ │ │ │ └── svelte.config.js │ │ │ │ │ │ │ ├── customElement │ │ │ │ │ │ │ │ ├── customElement.svelte │ │ │ │ │ │ │ │ └── svelte.config.js │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── actions-animations-transitions-typechecks │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── actions-enhance-types │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── bind-this │ │ │ │ │ │ │ ├── components.d.ts │ │ │ │ │ │ │ ├── expected_svelte_4.json │ │ │ │ │ │ │ ├── expected_svelte_5.json │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── bind-union │ │ │ │ │ │ │ ├── Component.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── bindings │ │ │ │ │ │ │ ├── Legacy.svelte │ │ │ │ │ │ │ ├── Runes.svelte │ │ │ │ │ │ │ ├── RunesGeneric.svelte │ │ │ │ │ │ │ ├── expected_svelte_5.json │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── boolean-literal-props │ │ │ │ │ │ │ ├── Component.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── checkjs-nostrict │ │ │ │ │ │ │ ├── component-props-js │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── component-props-ts │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── each-anytype │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── props_to-import-js.svelte │ │ │ │ │ │ │ ├── props_to-import-ts.svelte │ │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ │ ├── checkjs │ │ │ │ │ │ │ ├── component-props-js │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── component-props-ts │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── no-script-tag │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── props_to-import-js.svelte │ │ │ │ │ │ │ ├── props_to-import-ts.svelte │ │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ │ ├── coffeescript-ignore │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── component-invalid │ │ │ │ │ │ │ ├── components.d.ts │ │ │ │ │ │ │ ├── expected_svelte_5.json │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── imported.svelte │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── const-tag-if │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── const-tag │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── custom-types │ │ │ │ │ │ │ ├── expected_svelte_4.json │ │ │ │ │ │ │ ├── expected_svelte_5.json │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ ├── svelte-ambient-typings.d.ts │ │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ │ ├── deprecated-unused-hints │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── each │ │ │ │ │ │ │ ├── expected_svelte_4.json │ │ │ │ │ │ │ ├── expected_svelte_5.json │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── element-attributes │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── element-events │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── exports-map-svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ │ ├── foo.svelte │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ ├── x-types.d.ts │ │ │ │ │ │ │ │ │ ├── x.svelte │ │ │ │ │ │ │ │ │ └── y.svelte │ │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ │ ├── generics-runes.v5 │ │ │ │ │ │ │ ├── ValueComponent.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── generics │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── generics.svelte │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── getters │ │ │ │ │ │ │ ├── component-with-getters.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── if-control-flow-shadowed-variables │ │ │ │ │ │ │ ├── diagnostics-if-control-flow-imported.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── if-control-flow │ │ │ │ │ │ │ ├── diagnostics-if-control-flow-imported.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── ignore-false-positives │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── ignore-generated-code │ │ │ │ │ │ │ ├── diagnostics-ignore-generated-imported.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── implicit-snippet.v5 │ │ │ │ │ │ │ ├── SnippetParent.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── import-precedence │ │ │ │ │ │ │ ├── a.svelte │ │ │ │ │ │ │ ├── a.svelte.d.ts │ │ │ │ │ │ │ ├── b.svelte │ │ │ │ │ │ │ ├── b.svelte.ts │ │ │ │ │ │ │ ├── c.d.svelte.ts │ │ │ │ │ │ │ ├── c.svelte │ │ │ │ │ │ │ ├── d.svelte │ │ │ │ │ │ │ ├── d.svelte.js │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ │ ├── invalid-import │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ └── valid-import.svelte │ │ │ │ │ │ ├── js-untyped │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ └── untyped-js.svelte │ │ │ │ │ │ ├── modulescript-boolean-not-assignable-to-string │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── no-typechecks-for-js │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── node16 │ │ │ │ │ │ │ ├── bar.js │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ ├── other.svelte │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ │ ├── parser-error │ │ │ │ │ │ │ ├── expected_svelte_5.json │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── project-reference │ │ │ │ │ │ │ ├── nested │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ ├── imported.ts │ │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ │ ├── tsconfig_sub2.json │ │ │ │ │ │ │ │ └── tsconfig_sub3.json │ │ │ │ │ │ │ ├── paths │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ ├── imported.ts │ │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ │ └── tsconfig_sub.json │ │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ │ ├── props-control-flow │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── props-untyped │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ └── untyped-ts.svelte │ │ │ │ │ │ ├── pug │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── reactive-statement-unused-in-comma-list │ │ │ │ │ │ │ ├── ignores-unused-let │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ ├── keeps-legit-const │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ └── keeps-legit-import │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── reactive-statement-unused-label │ │ │ │ │ │ │ ├── ignores-unused-label │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ │ └── keeps-other-unused-label-warnings │ │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── script-boolean-not-assignable-to-string │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── slot-typechecks │ │ │ │ │ │ │ ├── diagnostics-slots-imported.svelte │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── snippet-js.v5 │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── snippet-scope.v5 │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── strictEvents │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ └── strictEvents.svelte │ │ │ │ │ │ ├── style-directive │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── svelte-element-error │ │ │ │ │ │ │ ├── expected_svelte_5.json │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── svelte-element │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── svelte-native │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── input.svelte │ │ │ │ │ │ │ ├── svelte-ambient-typings.d.ts │ │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ │ ├── svelte-ts-file │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ ├── foo.svelte.ts │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── sveltekit-autotypings-arrow │ │ │ │ │ │ │ ├── $types.d.ts │ │ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ │ │ ├── +page.ts │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── sveltekit-autotypings │ │ │ │ │ │ │ ├── $types.d.ts │ │ │ │ │ │ │ ├── +page.svelte │ │ │ │ │ │ │ ├── +page.ts │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── tags-without-attrs │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── transition-options │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── tsconfig.json │ │ │ │ │ │ ├── typechecks-js-with-ts-check │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── unInitialized │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ └── undeclared-component │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ └── index.test.ts │ │ │ │ ├── folding-range │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── fixtures │ │ │ │ │ │ ├── await-catch │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── await-peding-catch │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── await-pending-only │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── await-pending-then-catch │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── await-pending-then │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── await-then-catch-shorthand │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── await-then-catch │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── await-then │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── each-block │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── each-else │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── each-keyed │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── if-block │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── key-block │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── parser-error │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ └── script │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ └── index.test.ts │ │ │ │ ├── getDirectiveCommentCompletions.test.ts │ │ │ │ ├── inlayHints │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── fixtures │ │ │ │ │ │ ├── $$props │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$restProps │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $$slots │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── $store │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── action │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── animation │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── component-handler │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── disable-argument-name-match │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── disable-type-name-match │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── each │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── element-handler │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── function-call-in-props │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── property-declaration │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── reactive-block │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── reactive-varable │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── snippet.v5 │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── transition │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ │ ├── tsconfig.json │ │ │ │ │ │ └── union-type-props │ │ │ │ │ │ │ ├── expectedv2.json │ │ │ │ │ │ │ └── input.svelte │ │ │ │ │ └── index.test.ts │ │ │ │ └── preferences.test.ts │ │ │ │ ├── module-loader.test.ts │ │ │ │ ├── service.test.ts │ │ │ │ ├── svelte-sys.test.ts │ │ │ │ ├── test-utils.ts │ │ │ │ ├── testfiles │ │ │ │ ├── call-hierarchy │ │ │ │ │ ├── another-ref-format-date.svelte │ │ │ │ │ ├── call-hierarchy-import.svelte │ │ │ │ │ ├── outgoing-component.svelte │ │ │ │ │ └── util.ts │ │ │ │ ├── code-actions │ │ │ │ │ ├── check-js │ │ │ │ │ │ ├── codeaction-custom-fix-all-component3.svelte │ │ │ │ │ │ ├── importing │ │ │ │ │ │ │ ├── FixAllImported.svelte │ │ │ │ │ │ │ └── FixAllImported2.svelte │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ ├── codeaction-add-jsdoc.svelte │ │ │ │ │ ├── codeaction-checkJs-module.svelte │ │ │ │ │ ├── codeaction-checkJs.svelte │ │ │ │ │ ├── codeaction-component-import.svelte │ │ │ │ │ ├── codeaction-const-reassign.svelte │ │ │ │ │ ├── codeaction-custom-fix-all-component.svelte │ │ │ │ │ ├── codeaction-custom-fix-all-component2.svelte │ │ │ │ │ ├── codeaction-custom-fix-all-component3.svelte │ │ │ │ │ ├── codeaction-custom-fix-all-component4.svelte │ │ │ │ │ ├── codeaction-custom-fix-all-component5.svelte │ │ │ │ │ ├── codeaction-custom-fix-all-component6.svelte │ │ │ │ │ ├── codeaction-custom-fix-all-store.svelte │ │ │ │ │ ├── codeactions.svelte │ │ │ │ │ ├── fix-add-async.svelte │ │ │ │ │ ├── fix-missing-function-element.svelte │ │ │ │ │ ├── importing │ │ │ │ │ │ ├── FixAllImported.svelte │ │ │ │ │ │ ├── FixAllImported2.svelte │ │ │ │ │ │ ├── FixAllImported3.svelte │ │ │ │ │ │ ├── Nest │ │ │ │ │ │ │ └── FixAllImported.svelte │ │ │ │ │ │ ├── a.ts │ │ │ │ │ │ ├── b.ts │ │ │ │ │ │ └── c.ts │ │ │ │ │ ├── organize-imports-error.svelte │ │ │ │ │ ├── organize-imports-group.svelte │ │ │ │ │ ├── organize-imports-leading-comment.svelte │ │ │ │ │ ├── organize-imports-module-store.svelte │ │ │ │ │ ├── organize-imports-unchanged1.svelte │ │ │ │ │ ├── organize-imports-unchanged2.svelte │ │ │ │ │ ├── organize-imports-with-generics.svelte │ │ │ │ │ ├── organize-imports-with-module.svelte │ │ │ │ │ └── remove-imports-inline.svelte │ │ │ │ ├── codelens │ │ │ │ │ ├── importing.svelte │ │ │ │ │ └── references.svelte │ │ │ │ ├── completions │ │ │ │ │ ├── ComponentDef.ts │ │ │ │ │ ├── ScndImport.svelte │ │ │ │ │ ├── UpperCase │ │ │ │ │ │ ├── dirCasing.svelte │ │ │ │ │ │ └── toImport.ts │ │ │ │ │ ├── completions-auto-optional-chain.svelte │ │ │ │ │ ├── completions-in-reactive-statement.svelte │ │ │ │ │ ├── completions.svelte │ │ │ │ │ ├── completionsstyle.svelte │ │ │ │ │ ├── component-events-completion-ts-def.svelte │ │ │ │ │ ├── component-events-completion.svelte │ │ │ │ │ ├── component-events-event-dispatcher.svelte │ │ │ │ │ ├── component-events-interface.svelte │ │ │ │ │ ├── component-props-completion-rune.svelte │ │ │ │ │ ├── component-props-rune.svelte │ │ │ │ │ ├── custom-element-tag.svelte │ │ │ │ │ ├── customElement.d.ts │ │ │ │ │ ├── editingCompletion.svelte │ │ │ │ │ ├── element-events-completion.svelte │ │ │ │ │ ├── emptytext-imported.svelte │ │ │ │ │ ├── emptytext-importer.svelte │ │ │ │ │ ├── importcompletions-2nd-import.svelte │ │ │ │ │ ├── importcompletions-new-line.svelte │ │ │ │ │ ├── importcompletions-store.svelte │ │ │ │ │ ├── importcompletions-text.svelte │ │ │ │ │ ├── importcompletions.svelte │ │ │ │ │ ├── importcompletions1.svelte │ │ │ │ │ ├── importcompletions2.svelte │ │ │ │ │ ├── importcompletions3.svelte │ │ │ │ │ ├── importcompletions4.svelte │ │ │ │ │ ├── importcompletions5.svelte │ │ │ │ │ ├── importcompletions6.svelte │ │ │ │ │ ├── importcompletions7.svelte │ │ │ │ │ ├── importcompletions8.svelte │ │ │ │ │ ├── importcompletions9.svelte │ │ │ │ │ ├── importstatementcompletions.svelte │ │ │ │ │ ├── importstatementcompletions2.svelte │ │ │ │ │ ├── jsdoc-completions.svelte │ │ │ │ │ ├── mustache.svelte │ │ │ │ │ ├── namespaced.svelte │ │ │ │ │ ├── object-member.svelte │ │ │ │ │ ├── string-completion.svelte │ │ │ │ │ ├── to-import.ts │ │ │ │ │ ├── toImport.json │ │ │ │ │ ├── ts-directive-comment.svelte │ │ │ │ │ └── useTabs │ │ │ │ │ │ ├── .prettierrc │ │ │ │ │ │ └── importcompletions1.svelte │ │ │ │ ├── declaration-map │ │ │ │ │ ├── declaration-map-project │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── tsconfig.json │ │ │ │ │ │ └── types │ │ │ │ │ │ │ ├── base64.d.ts │ │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ │ └── index.d.ts.map │ │ │ │ │ ├── import-from-base64-sourcemap.svelte │ │ │ │ │ └── importing.svelte │ │ │ │ ├── declaration │ │ │ │ │ └── source.ts │ │ │ │ ├── definition │ │ │ │ │ ├── definition-rune.svelte │ │ │ │ │ └── imported-rune.svelte │ │ │ │ ├── definitions.svelte │ │ │ │ ├── definitions.ts │ │ │ │ ├── diagnostics │ │ │ │ │ ├── diagnostics-imported-js-update.svelte │ │ │ │ │ ├── diagnostics.svelte │ │ │ │ │ ├── different-ts-service.svelte │ │ │ │ │ ├── different-ts-service │ │ │ │ │ │ ├── different-ts-service.svelte │ │ │ │ │ │ └── tsconfig.json │ │ │ │ │ ├── empty-export.ts │ │ │ │ │ ├── shared-comp.svelte │ │ │ │ │ ├── shared-ts-file.ts │ │ │ │ │ ├── tsconfig.json │ │ │ │ │ └── unresolvedimport.svelte │ │ │ │ ├── document-highlight │ │ │ │ │ └── document-highlight.svelte │ │ │ │ ├── documentation.svelte │ │ │ │ ├── documentation.ts │ │ │ │ ├── documentsymbols.svelte │ │ │ │ ├── empty.svelte │ │ │ │ ├── find-component-references-child.svelte │ │ │ │ ├── find-component-references-parent.svelte │ │ │ │ ├── find-component-references-parent2.svelte │ │ │ │ ├── find-file-references-child.svelte │ │ │ │ ├── find-file-references-parent.svelte │ │ │ │ ├── find-references-$store-other.svelte │ │ │ │ ├── find-references-$store.svelte │ │ │ │ ├── find-references-ignore-generated-tsx.svelte │ │ │ │ ├── find-references-ignore-generated.svelte │ │ │ │ ├── find-references.svelte │ │ │ │ ├── hover │ │ │ │ │ ├── hover-$store.svelte │ │ │ │ │ ├── hover-events-interface.svelte │ │ │ │ │ └── hoverinfo.svelte │ │ │ │ ├── implementation │ │ │ │ │ ├── implementation.svelte │ │ │ │ │ └── some-type.ts │ │ │ │ ├── imported-file.svelte │ │ │ │ ├── performance.svelte │ │ │ │ ├── preferences │ │ │ │ │ ├── code-action-outside-root.svelte │ │ │ │ │ ├── code-action.svelte │ │ │ │ │ ├── definition │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── imports.svelte │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── module-specifier-js.svelte │ │ │ │ │ ├── tsconfig.json │ │ │ │ │ └── with-context-module.svelte │ │ │ │ ├── rename │ │ │ │ │ ├── rename-ignore-generated.svelte │ │ │ │ │ ├── rename-prop-with-slot-events.svelte │ │ │ │ │ ├── rename-runes-importer.svelte │ │ │ │ │ ├── rename-runes.svelte │ │ │ │ │ ├── rename-shorthand.svelte │ │ │ │ │ ├── rename-slot-events-importer.svelte │ │ │ │ │ ├── rename-slot-let.svelte │ │ │ │ │ ├── rename.svelte │ │ │ │ │ ├── rename2.svelte │ │ │ │ │ ├── rename3.svelte │ │ │ │ │ ├── rename4.svelte │ │ │ │ │ ├── rename5.svelte │ │ │ │ │ └── rename6.svelte │ │ │ │ ├── selection-range │ │ │ │ │ ├── selection-range-import.svelte │ │ │ │ │ └── selection-range.svelte │ │ │ │ ├── semantic-tokens │ │ │ │ │ ├── imported.svelte │ │ │ │ │ ├── jsToken.svelte │ │ │ │ │ └── tokens.svelte │ │ │ │ ├── signature-help │ │ │ │ │ └── signature-help.svelte │ │ │ │ ├── tsconfig.json │ │ │ │ ├── typedefinition │ │ │ │ │ ├── some-class.ts │ │ │ │ │ └── typedefinition.svelte │ │ │ │ └── update-imports │ │ │ │ │ ├── imported.svelte │ │ │ │ │ └── updateimports.svelte │ │ │ │ ├── typescript-performance.test.ts │ │ │ │ └── utils.test.ts │ │ └── utils.test.ts │ ├── tsconfig.json │ └── wallaby.js ├── svelte-check │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── bin │ │ └── svelte-check │ ├── package.json │ ├── rollup.config.mjs │ ├── src │ │ ├── index.ts │ │ ├── options.ts │ │ └── writers.ts │ ├── test │ │ ├── Index.svelte │ │ └── tsconfig.json │ └── tsconfig.json ├── svelte-vscode │ ├── .gitignore │ ├── .vscode │ │ └── launch.json │ ├── .vscodeignore │ ├── CHANGELOG.md │ ├── README.md │ ├── icons │ │ ├── logo-nightly.png │ │ ├── logo.png │ │ ├── preview-right-dark.svg │ │ └── preview-right-light.svg │ ├── language-configuration.json │ ├── package-json-schema.json │ ├── package.json │ ├── prettier-options-schema.json │ ├── snippets │ │ ├── javascript.json │ │ ├── svelte.json │ │ └── typescript.json │ ├── src │ │ ├── CompiledCodeContentProvider.ts │ │ ├── extension.ts │ │ ├── html │ │ │ ├── autoClose.ts │ │ │ └── htmlEmptyTagsShared.ts │ │ ├── middlewares.ts │ │ ├── sveltekit │ │ │ ├── generateFiles │ │ │ │ ├── commands.ts │ │ │ │ ├── generate.ts │ │ │ │ ├── index.ts │ │ │ │ ├── resources.ts │ │ │ │ ├── templates │ │ │ │ │ ├── error.ts │ │ │ │ │ ├── layout-load.ts │ │ │ │ │ ├── layout-server.ts │ │ │ │ │ ├── layout.ts │ │ │ │ │ ├── page-load.ts │ │ │ │ │ ├── page-server.ts │ │ │ │ │ ├── page.ts │ │ │ │ │ └── server.ts │ │ │ │ └── types.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── tsplugin.ts │ │ ├── typescript │ │ │ ├── findComponentReferences.ts │ │ │ └── findFileReferences.ts │ │ └── utils.ts │ ├── syntaxes │ │ ├── README.md │ │ ├── markdown-svelte-css.json │ │ ├── markdown-svelte-js.json │ │ ├── markdown-svelte.json │ │ ├── postcss.src.yaml │ │ ├── pug-svelte-dotblock.json │ │ ├── pug-svelte-tags.json │ │ ├── pug-svelte.json │ │ └── svelte.tmLanguage.src.yaml │ ├── test │ │ └── grammar │ │ │ ├── dummy │ │ │ ├── coffee.tmLanguage-dummy.json │ │ │ ├── css.tmLanguage-dummy.json │ │ │ ├── html.tmLanguage-dummy.json │ │ │ ├── js.tmLanguage-dummy.json │ │ │ ├── less.tsLanguage-dummy.json │ │ │ ├── pug.tmLanguage-dummy.json │ │ │ ├── sass.tmLanguage-dummy.json │ │ │ ├── scss.tsLanguage-dummy.json │ │ │ ├── stylus.tmLanguage-dummy.json │ │ │ └── ts.tmLanguage-dummy.json │ │ │ ├── samples │ │ │ ├── action │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── animation │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── await-block │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── bind │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── class-directive │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── component-docs │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── const │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── debug │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── each-block │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── element-namespace │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── elements │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── handler │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── if-block │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── key-block │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── namespaced-component │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── props │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── script-coffee │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── script-context-lang │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── script-generics-multiline │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── script-generics │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── script │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── store │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style-directive │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style-less │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style-postcss │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style-props │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style-sass │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style-scss │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style-src │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style-stylus │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── style │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ ├── template-pug │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ └── transition │ │ │ │ ├── input.svelte │ │ │ │ └── input.svelte.snap │ │ │ └── test.js │ └── tsconfig.json ├── svelte2tsx │ ├── .editorconfig │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── package.json │ ├── repl │ │ ├── debug.ts │ │ └── index.svelte │ ├── rollup.config.mjs │ ├── src │ │ ├── emitDts.ts │ │ ├── estree.d.ts │ │ ├── helpers │ │ │ ├── files.ts │ │ │ ├── index.ts │ │ │ ├── sveltekit.ts │ │ │ └── typescript.ts │ │ ├── htmlxtojsx_v2 │ │ │ ├── index.ts │ │ │ ├── nodes │ │ │ │ ├── Action.ts │ │ │ │ ├── Animation.ts │ │ │ │ ├── AttachTag.ts │ │ │ │ ├── Attribute.ts │ │ │ │ ├── AwaitPendingCatchBlock.ts │ │ │ │ ├── Binding.ts │ │ │ │ ├── Class.ts │ │ │ │ ├── Comment.ts │ │ │ │ ├── ConstTag.ts │ │ │ │ ├── DebugTag.ts │ │ │ │ ├── EachBlock.ts │ │ │ │ ├── Element.ts │ │ │ │ ├── EventHandler.ts │ │ │ │ ├── IfElseBlock.ts │ │ │ │ ├── InlineComponent.ts │ │ │ │ ├── Key.ts │ │ │ │ ├── Let.ts │ │ │ │ ├── MustacheTag.ts │ │ │ │ ├── RawMustacheTag.ts │ │ │ │ ├── RenderTag.ts │ │ │ │ ├── SnippetBlock.ts │ │ │ │ ├── Spread.ts │ │ │ │ ├── StyleDirective.ts │ │ │ │ ├── Text.ts │ │ │ │ └── Transition.ts │ │ │ ├── svgattributes.ts │ │ │ └── utils │ │ │ │ └── node-utils.ts │ │ ├── index.ts │ │ ├── interfaces.ts │ │ ├── svelte2tsx │ │ │ ├── addComponentExport.ts │ │ │ ├── createRenderFunction.ts │ │ │ ├── index.ts │ │ │ ├── knownevents.ts │ │ │ ├── nodes │ │ │ │ ├── ComponentDocumentation.ts │ │ │ │ ├── ComponentEvents.ts │ │ │ │ ├── ExportedNames.ts │ │ │ │ ├── Generics.ts │ │ │ │ ├── HoistableInterfaces.ts │ │ │ │ ├── ImplicitStoreValues.ts │ │ │ │ ├── ImplicitTopLevelNames.ts │ │ │ │ ├── InterfacesAndTypes.ts │ │ │ │ ├── Scripts.ts │ │ │ │ ├── Stores.ts │ │ │ │ ├── TemplateScope.ts │ │ │ │ ├── event-handler.ts │ │ │ │ ├── handleImportDeclaration.ts │ │ │ │ ├── handleScopeAndResolveForSlot.ts │ │ │ │ ├── handleTypeAssertion.ts │ │ │ │ └── slot.ts │ │ │ ├── processInstanceScriptContent.ts │ │ │ ├── processModuleScriptTag.ts │ │ │ └── utils │ │ │ │ ├── Scope.ts │ │ │ │ ├── error.ts │ │ │ │ └── tsAst.ts │ │ └── utils │ │ │ ├── htmlxparser.ts │ │ │ ├── ignore.ts │ │ │ ├── magic-string.ts │ │ │ ├── object.ts │ │ │ └── svelteAst.ts │ ├── svelte-jsx-v4.d.ts │ ├── svelte-jsx.d.ts │ ├── svelte-native-jsx.d.ts │ ├── svelte-shims-v4.d.ts │ ├── svelte-shims.d.ts │ ├── test │ │ ├── build.ts │ │ ├── emitDts │ │ │ ├── index.ts │ │ │ └── samples │ │ │ │ ├── javascript-libRoot │ │ │ │ ├── config.json │ │ │ │ ├── expected │ │ │ │ │ ├── Test.svelte.d.ts │ │ │ │ │ └── index.d.ts │ │ │ │ ├── jsconfig.json │ │ │ │ └── src │ │ │ │ │ ├── Test2.svelte │ │ │ │ │ └── lib │ │ │ │ │ ├── Test.svelte │ │ │ │ │ └── index.js │ │ │ │ ├── javascript-runes.v5 │ │ │ │ ├── expected │ │ │ │ │ └── TestRunes.svelte.d.ts │ │ │ │ ├── jsconfig.json │ │ │ │ └── src │ │ │ │ │ └── TestRunes.svelte │ │ │ │ ├── javascript │ │ │ │ ├── expected │ │ │ │ │ ├── Test.svelte.d.ts │ │ │ │ │ ├── Test2.svelte.d.ts │ │ │ │ │ ├── TestNoScript.svelte.d.ts │ │ │ │ │ ├── TestNoTypes.svelte.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── runes.svelte.d.ts │ │ │ │ ├── jsconfig.json │ │ │ │ └── src │ │ │ │ │ ├── Test.svelte │ │ │ │ │ ├── Test2.svelte │ │ │ │ │ ├── TestNoScript.svelte │ │ │ │ │ ├── TestNoTypes.svelte │ │ │ │ │ ├── foo.d.ts │ │ │ │ │ ├── index.js │ │ │ │ │ └── runes.svelte.js │ │ │ │ ├── svelte3 │ │ │ │ ├── config.json │ │ │ │ ├── expected │ │ │ │ │ ├── Test.svelte.d.ts │ │ │ │ │ ├── TestJs.svelte.d.ts │ │ │ │ │ └── index.d.ts │ │ │ │ ├── src │ │ │ │ │ ├── Test.svelte │ │ │ │ │ ├── TestJs.svelte │ │ │ │ │ └── index.ts │ │ │ │ └── tsconfig.json │ │ │ │ ├── typescript-custom-tsconfig │ │ │ │ ├── config.json │ │ │ │ ├── expected │ │ │ │ │ └── runes.svelte.d.ts │ │ │ │ ├── src │ │ │ │ │ └── runes.svelte.ts │ │ │ │ ├── tsconfig.build.json │ │ │ │ └── tsconfig.json │ │ │ │ ├── typescript-declarationMap │ │ │ │ ├── expected │ │ │ │ │ ├── Test.svelte.d.ts │ │ │ │ │ ├── Test.svelte.d.ts.map │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── index.d.ts.map │ │ │ │ │ ├── testSvelteTs.svelte.d.ts │ │ │ │ │ └── testSvelteTs.svelte.d.ts.map │ │ │ │ ├── src │ │ │ │ │ ├── Test.svelte │ │ │ │ │ ├── index.ts │ │ │ │ │ └── testSvelteTs.svelte.ts │ │ │ │ └── tsconfig.json │ │ │ │ ├── typescript-deduplicate │ │ │ │ ├── expected │ │ │ │ │ ├── Test.svelte.d.ts │ │ │ │ │ └── foo.d.ts │ │ │ │ ├── src │ │ │ │ │ ├── Test.svelte │ │ │ │ │ └── foo.ts │ │ │ │ └── tsconfig.json │ │ │ │ ├── typescript-runes-generics.v5 │ │ │ │ ├── expected │ │ │ │ │ └── TestRunes.svelte.d.ts │ │ │ │ ├── src │ │ │ │ │ └── TestRunes.svelte │ │ │ │ └── tsconfig.json │ │ │ │ ├── typescript-runes.v5 │ │ │ │ ├── expected │ │ │ │ │ ├── TestRunes1.svelte.d.ts │ │ │ │ │ └── TestRunes2.svelte.d.ts │ │ │ │ ├── src │ │ │ │ │ ├── TestRunes1.svelte │ │ │ │ │ └── TestRunes2.svelte │ │ │ │ └── tsconfig.json │ │ │ │ └── typescript │ │ │ │ ├── expected │ │ │ │ ├── Interfaces.svelte.d.ts │ │ │ │ ├── Test.svelte.d.ts │ │ │ │ ├── Test2.svelte.d.ts │ │ │ │ ├── Test3$$Props.svelte.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ └── runes.svelte.d.ts │ │ │ │ ├── src │ │ │ │ ├── Interfaces.svelte │ │ │ │ ├── Test.svelte │ │ │ │ ├── Test2.svelte │ │ │ │ ├── Test3$$Props.svelte │ │ │ │ ├── foo.d.ts │ │ │ │ ├── index.ts │ │ │ │ └── runes.svelte.ts │ │ │ │ └── tsconfig.json │ │ ├── helpers.ts │ │ ├── helpers │ │ │ └── index.ts │ │ ├── htmlx2jsx │ │ │ ├── index.ts │ │ │ └── samples │ │ │ │ ├── .binding-get-set.v5 │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── .svelte-boundary.v5 │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── .svelte-html.v5 │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── action-bare │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── action-nested │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── action-params │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── action-svelte-body │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── animation-bare │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── animation-params │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attachments.v5 │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-bare │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-data │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-element │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-foreign-ns │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-invalid-jsx-name │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-multiline │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-multiple │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-nullish-coalescing │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-number │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-optional-chaining │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-quoted │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-shorthand │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── attribute-text │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── auto-closing-tag │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-basic-catch │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-basic │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-destruct-array │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-destruct-default │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-destruct-object │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-destruct-rest │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-no-then │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-parentheses │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-pending-catch │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-pending │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-shorthand-catch-no-var │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-shorthand-catch │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── await-block-shorthand-then-no-var │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-bare │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-group-bare │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-group │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-oneway │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-this-component │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-this-svelte-body │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-this-svelte-component │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-this-svelte-self │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding-this │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── binding │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── blocks-without-whitespace-inbetween │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── class-bare │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── class-parentheses │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── class │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── comment │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── comments-around-if │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-default-slot-empty │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-default-slot-let-destructure │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-default-slot-let │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-default-slot │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-multi-slot │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-name-dot │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-named-slot │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-no-slots │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-infer-props │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-shadowed-prop │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── custom-css-properties │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── custom-element-attribute │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── debug-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── directive-quoted │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── doctype │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── each-block-basic-sequence │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── each-block-basic │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── each-block-index │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── each-block-key-else │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── each-block-key │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── each-block-nullish-coalescing │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── each-block-optional-chaining │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── each-block-without-as.v5 │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-action │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-animation │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-await │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-binding │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-bracket │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-class-directive │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-const │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-empty-expression.v5 │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-event-handler │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-html-block │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-if │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-key │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-mustache │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-parentheses │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-props │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-style-directive │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-transition │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-unclosed-block.v5 │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-unclosed-component-no-attr.v5 │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-unclosed-element-no-attr.v5 │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── editing-unclosed-tag.v5 │ │ │ │ ├── expected.error.json │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── element-only │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler-bare │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler-component-bare │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler-component-infer-props │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler-component │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler-customname │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler-modifiers │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler-quoted │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler-svelte-component │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── event-handler │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── expression-nullish-coalescing-optional-chaining │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── html-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-block-const │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-comma-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-else-block-nested │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-else-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-else-if-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-else-if-nullish-coalescing │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-else-if-optional-chaining │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-nested-await-block-shadowed │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-nested-await-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-nested-each-block-shadowed │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-nested-each-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-nested-slot-let-shadowed │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── if-nested-slot-let │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── key-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── namespaced-attributes │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── nested-if-else-if-and-each-block │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── nested-snippet.v5 │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── quotes-inside-quotes │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── sapper-noscroll │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── sapper-prefetch │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── simple-expression │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── snippet.v5 │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── style-directive │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── svelte-fragment │ │ │ │ ├── expected-svelte5.js │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── sveltehead-title │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── sveltekit-anchor-attrs │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── svg-attributes │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── tokens-not-allowed-in-jsx │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── transition-animate-fallbacks │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── transition-bare │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── transition-modifiers │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── transition-params │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ ├── ts-in-template.v5 │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ │ │ └── void-elements │ │ │ │ ├── expectedv2.js │ │ │ │ └── input.svelte │ │ ├── htmlxparser │ │ │ └── index.ts │ │ ├── sourcemaps │ │ │ ├── composer.ts │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ ├── parser.ts │ │ │ ├── process.ts │ │ │ ├── readme.md │ │ │ └── samples │ │ │ │ ├── action-directive │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── await-block │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── component-props │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── each-block │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── element-attributes │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── event-binding │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── if-block │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── import-equal │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── large-sample-1 │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── let │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── property-shorthand │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── reactive-statements │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── reserved-variables │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── simple-element │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ ├── slot-let │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ │ │ └── slots │ │ │ │ ├── input.svelte │ │ │ │ ├── mappings.jsx │ │ │ │ └── test.jsx │ │ ├── svelte2tsx │ │ │ ├── index.ts │ │ │ ├── samples │ │ │ │ ├── $store-as-directive │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── $store-assign │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── $store-export-type │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── $store-index │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── $store-inside-block-without-braces │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── $store-nested-declaration │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── $store-no-instance-only-module-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── $store-prop-init │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── accessors-config-attr-false │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── accessors-config │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── array-binding-export │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ast-offset-none │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ast-offset-some │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── attributes-foreign-ns │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── await-with-$store │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── binding-assignment-$store │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── binding-group-store │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── circle-drawer-example │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── commented-out-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-default-slot │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-events-interface-constant │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-events-interface-dispatcher │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-events-interface-string-literals │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-events-interface │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-events-strictEvents │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-events-type │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-multiple-slots │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-$$slot-interface │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-$$slot-type │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-crazy-attributes │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-fallback │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-forward-with-props │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-inside-await │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-inside-each │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-let-forward-named-slot │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-let-forward │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-nest-scope │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-no-space │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-object-key │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-slot-var-shadowing │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-with-documentation │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-with-indented-multiline-documentation │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── component-with-multiline-documentation │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── const-tag-await-then-destructuring │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── const-tag-await-then │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── const-tag-component │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── const-tag-each-destructure │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── const-tag-each │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── creates-dts │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── creates-no-script-dts │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── custom-css-properties-with-$store │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── debug-block │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── editing-mustache │ │ │ │ │ ├── expected.error.json │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── empty-source │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-and-forwarded-event │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-bubble-component-multi │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-bubble-component-with-props │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-bubble-component │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-bubble-element │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-bubble-svelte-element │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-dispatcher-events-alias │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-dispatcher-events │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── event-dispatchers │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-class │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-const-array-destructuring │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-const-object-destructuring │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-destructuring │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-doc │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-js-required-props │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-list-runes.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-list │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-references-local │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── export-with-default-multi │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── filename-is-invalid-identifier │ │ │ │ │ ├── 1_a[slug]Test-upper--upper3asd4.svelte │ │ │ │ │ └── expectedv2.ts │ │ │ │ ├── filename-is-invalid-identifiers-only │ │ │ │ │ ├── 0.svelte │ │ │ │ │ └── expectedv2.ts │ │ │ │ ├── function-scope │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── generics-attribute.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── import-equal │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── import-leading-comment │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── import-single-quote │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── imports-module-instance │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── imports │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── jsdoc-before-first-import │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── module-script-and-script-in-line │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── module-script-and-script-in-line2 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── module-script-and-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── module-script-and-script2 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── module-script-and-script3.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── nested-$-variables-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── nested-$-variables-template │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── object-binding-export │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── props-variable-and-$props.id-destructured.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── props-variable-and-$props.id-not-$props-init.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── props-variable-and-$props.id-spread.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── props-variable-and-$props.id.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-$store-destructuring │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-assignment-type-cast │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-block │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-break-$ │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-declare-destructuring │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-declare-express-starts-with-object │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-declare-object │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-declare-same-name-as-function-parameter │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-declare-same-name-as-import │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-declare │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-statements-store │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── reactive-store-set │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── renamed-exports-runes.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── renamed-exports │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── runes-best-effort-types.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── runes-bindable.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── runes-looking-like-stores.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── runes-only-export.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── runes-with-slots.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── runes.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── script-and-module-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── script-in-rawhtml │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── script-inside-head-after-toplevel-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── script-on-bottom │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── script-style-like-component │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── script-with-src │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── self-closing-component │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── single-element │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── single-export │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── slot-bind-this │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── snippet-generics.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── snippet-instance-script.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── snippet-module-hoist-1.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── snippet-module-hoist-2.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── snippet-module-hoist-3.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── snippet-module-hoist-4.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── snippet-module-hoist-5.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── snippet-module-hoist-6.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── store-destructuring │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── store-from-module │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── store-from-reactive-assignment │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── store-import │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── store-property-access │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── stores-looking-like-runes │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── stores-mustache │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── style-after-selfclosing-iframe │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── style-attribute-bare │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── style-attribute │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── style-in-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── style │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── svelte-element │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── svelte-self-forward-event │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── sveltekit-autotypes-$props-rune-no-changes.v5 │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── expectedv2.ts │ │ │ │ ├── sveltekit-autotypes-$props-rune.v5 │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ └── expectedv2.ts │ │ │ │ ├── sveltekit-autotypes │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ └── expectedv2.ts │ │ │ │ ├── transforms-interfaces-dts │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$Props-interface-only-props │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$Props-interface │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$Props-type │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$Props-with-$$props │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$generics-accessor-dts │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$generics-accessor │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$generics-dts │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$generics-interface-references │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-$$generics │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-creates-dts │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-event-dispatcher-typed-non-literal │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-event-dispatcher-typed │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-event-dispatchers-same-event │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-event-dispatchers │ │ │ │ │ ├── expected.js │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-arrow-function │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-boolean │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-const │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-doc-typedef │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-doc │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-has-initializer │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-has-type │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-interface │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-list-runes.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-list │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-export-required-props │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-function-type-scope │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-generic-attribute-const-modifier │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-generics-attribute1 │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-generics-attribute2 │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-multiple-export │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-best-effort-types.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-bindable.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-generics.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-1.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-2.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-4.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-5.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-6.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-1.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-10.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-11.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-12.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-13.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-14.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-2.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-3.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-4.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-5.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-6.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-7.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-8.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-hoistable-props-false-9.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes-with-slot.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-runes.v5 │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-script-tag-generics │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-style-and-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-sveltekit-autotypes-$props-rune-unchanged.v5 │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── expectedv2.ts │ │ │ │ ├── ts-sveltekit-autotypes-$props-rune.v5 │ │ │ │ │ ├── +page.svelte │ │ │ │ │ └── expectedv2.ts │ │ │ │ ├── ts-type-assertion │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-typed-export-with-default │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── ts-uses-$$props │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── typeof-$store │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── unclosed-tag-containing-tag.v5 │ │ │ │ │ ├── expected.error.json │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$$props-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$$props │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$$restProps-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$$restProps │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$$slots-script │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$$slots │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$property │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$store-in-event-binding │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$store-multiple-variable-declaration │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$store-with-assignment-operators │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$store-with-increments │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$store-with-unary-operators │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-$store │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-accessors-attr-not-present │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-accessors-attr-present │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-accessors-mustachetag-false │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-accessors-mustachetag-true │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-accessors-no-svelte-options │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ ├── uses-svelte-components-let-forward │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ │ └── uses-svelte-components │ │ │ │ │ ├── expected-svelte5.ts │ │ │ │ │ ├── expectedv2.ts │ │ │ │ │ └── input.svelte │ │ │ └── tsconfig.json │ │ ├── test.ts │ │ └── tsconfig.json │ └── tsconfig.json └── typescript-plugin │ ├── .gitignore │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── internal.md │ ├── package.json │ ├── src │ ├── config-manager.ts │ ├── index.ts │ ├── language-service │ │ ├── call-hierarchy.ts │ │ ├── code-action.ts │ │ ├── completions.ts │ │ ├── definition.ts │ │ ├── diagnostics.ts │ │ ├── file-references.ts │ │ ├── find-references.ts │ │ ├── host.ts │ │ ├── hover.ts │ │ ├── implementation.ts │ │ ├── index.ts │ │ ├── inlay-hints.ts │ │ ├── move-to-file.ts │ │ ├── navigate-to-items.ts │ │ ├── rename.ts │ │ ├── sveltekit.ts │ │ └── update-imports.ts │ ├── logger.ts │ ├── module-loader.ts │ ├── project-svelte-files.ts │ ├── source-mapper.ts │ ├── svelte-snapshots.ts │ ├── svelte-sys.ts │ └── utils.ts │ └── tsconfig.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | insert_final_newline = true 6 | indent_style = space 7 | indent_size = 4 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | 11 | [package.json] 12 | indent_size = 2 13 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | open_collective: svelte 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/something-else.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Something else 3 | about: Anything that doesn't fit into the other issue categories 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | 11 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | resolution-mode=highest -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "useTabs": false, 3 | "printWidth": 100, 4 | "tabWidth": 4, 5 | "semi": true, 6 | "trailingComma": "none", 7 | "singleQuote": true 8 | } 9 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.preferences.quoteStyle": "single" 3 | } 4 | -------------------------------------------------------------------------------- /packages/language-server/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | .vscode/ 3 | node_modules/ 4 | !test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/node_modules/package -------------------------------------------------------------------------------- /packages/language-server/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /src 3 | /test 4 | /dist/test 5 | wallaby.js 6 | -------------------------------------------------------------------------------- /packages/language-server/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | See https://github.com/sveltejs/language-tools/releases 4 | -------------------------------------------------------------------------------- /packages/language-server/bin/server.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | 3 | const { startServer } = require('../dist/src/server'); 4 | 5 | startServer(); 6 | -------------------------------------------------------------------------------- /packages/language-server/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './server'; 2 | export { offsetAt } from './lib/documents'; 3 | export { SvelteCheck, SvelteCheckOptions, SvelteCheckDiagnosticSource } from './svelte-check'; 4 | -------------------------------------------------------------------------------- /packages/language-server/src/lib/documents/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DocumentManager'; 2 | export * from './Document'; 3 | export * from './DocumentBase'; 4 | export * from './DocumentMapper'; 5 | export * from './utils'; 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/svelte/testfiles/diagnostics-module-and-instance.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/svelte/testfiles/diagnostics-module.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/svelte/testfiles/diagnostics.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/svelte/testfiles/svelte-anchor-missing-attribute-code-action-rel.svelte: -------------------------------------------------------------------------------- 1 | Svelte 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/svelte/testfiles/svelte-anchor-missing-attribute-code-action.svelte: -------------------------------------------------------------------------------- 1 | Svelte 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$Props-invalid-alias/$$Props-invalid-alias5/ItemData.ts: -------------------------------------------------------------------------------- 1 | export type ItemData = { 2 | x: number; 3 | y: number; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$Props-invalid-alias/$$Props-invalid-alias6/ItemData.ts: -------------------------------------------------------------------------------- 1 | export type ItemData = { 2 | x: number; 3 | y: number; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$generic-filter-out-unused/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$props-invalid1/input.svelte: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$props-invalid2/input.svelte: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$props-invalid3/input.svelte: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$props-valid/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$props-valid2/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$props/$$props.svelte: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$props/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$$props/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$store-bind/components.d.ts: -------------------------------------------------------------------------------- 1 | import { SvelteComponentTyped } from 'svelte'; 2 | 3 | export class Component extends SvelteComponentTyped<{ prop: number }> {} 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/$store-uninitialized/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/accessors-customElement-configs/accessors/accessors-and-option.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/accessors-customElement-configs/accessors/accessors.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/accessors-customElement-configs/customElement/customElement.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/bind-union/Component.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/bind-union/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/bindings/Legacy.svelte: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/boolean-literal-props/Component.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/boolean-literal-props/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/boolean-literal-props/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/checkjs-nostrict/each-anytype/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/checkjs-nostrict/props_to-import-ts.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/checkjs/no-script-tag/input.svelte: -------------------------------------------------------------------------------- 1 |
2 | {hi} 3 |
-------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/checkjs/props_to-import-ts.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/coffeescript-ignore/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/component-invalid/imported.svelte: -------------------------------------------------------------------------------- 1 |

hi

2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/deprecated-unused-hints/input.svelte: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/node_modules/package/foo.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/node_modules/package/x-types.d.ts: -------------------------------------------------------------------------------- 1 | declare const X: any; 2 | export default X; -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/node_modules/package/x.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/node_modules/package/y.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "esnext", 4 | "target": "esnext", 5 | "moduleResolution": "Bundler" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/generics-runes.v5/ValueComponent.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {value} 6 | {defaultValue} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/getters/component-with-getters.svelte: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/if-control-flow-shadowed-variables/diagnostics-if-control-flow-imported.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/if-control-flow/diagnostics-if-control-flow-imported.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/ignore-false-positives/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/ignore-generated-code/diagnostics-ignore-generated-imported.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/a.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/a.svelte.d.ts: -------------------------------------------------------------------------------- 1 | export declare const a: boolean; 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/b.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/b.svelte.ts: -------------------------------------------------------------------------------- 1 | export const b = true; 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/c.d.svelte.ts: -------------------------------------------------------------------------------- 1 | export declare const c: boolean; 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/c.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/d.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/d.svelte.js: -------------------------------------------------------------------------------- 1 | export const d = true; 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/invalid-import/input.svelte: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/js-untyped/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/js-untyped/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {untyped.worksBecauseAny} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/js-untyped/untyped-js.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/modulescript-boolean-not-assignable-to-string/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/no-typechecks-for-js/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/no-typechecks-for-js/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/node16/bar.js: -------------------------------------------------------------------------------- 1 | export const foo = true; 2 | export const baz = true; 3 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/node16/other.svelte: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/node16/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/parser-error/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/project-reference/nested/tsconfig_sub2.json: -------------------------------------------------------------------------------- 1 | { 2 | "include": [], 3 | "compilerOptions": { 4 | "composite": true 5 | }, 6 | "references": [{ "path": "./tsconfig_sub3.json" }] 7 | } 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/props-control-flow/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/props-untyped/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/props-untyped/untyped-ts.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/reactive-statement-unused-in-comma-list/ignores-unused-let/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/reactive-statement-unused-label/ignores-unused-label/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/script-boolean-not-assignable-to-string/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/svelte-element-error/input.svelte: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/svelte-native/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/svelte-native/svelte-ambient-typings.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace svelteNative { 2 | function createElement(element: string, attrs: any): any; 3 | function mapElementTag(tag: any): any; 4 | } 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/svelte-ts-file/foo.svelte.ts: -------------------------------------------------------------------------------- 1 | export const foo = 'foo'; 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/svelte-ts-file/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/sveltekit-autotypings-arrow/+page.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/sveltekit-autotypings-arrow/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/sveltekit-autotypings/$types.d.ts: -------------------------------------------------------------------------------- 1 | export interface PageLoadEvent<> { 2 | test: { 3 | exists: boolean; 4 | }; 5 | } 6 | 7 | export type PageData = ReturnType; 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/sveltekit-autotypings/+page.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/sveltekit-autotypings/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/tags-without-attrs/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/tags-without-attrs/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/transition-options/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/typechecks-js-with-ts-check/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/undeclared-component/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/.gitignore: -------------------------------------------------------------------------------- 1 | debug.svelte -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-catch/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 0, "endLine": 1 }, 3 | { "startLine": 6, "endLine": 7 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-catch/input.svelte: -------------------------------------------------------------------------------- 1 | {#await somePromise catch error} 2 |

Promise Pending

3 | {/await} 4 | 5 | {#await somePromise 6 | 7 | catch error} 8 |

Promise Pending

9 | {/await} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-pending-only/expectedv2.json: -------------------------------------------------------------------------------- 1 | [{ "startLine": 0, "endLine": 1 }] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-pending-only/input.svelte: -------------------------------------------------------------------------------- 1 | {#await somePromise} 2 |

Loading

3 | {/await} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-pending-then/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 0, "endLine": 1 }, 3 | { "startLine": 2, "endLine": 3 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-pending-then/input.svelte: -------------------------------------------------------------------------------- 1 | {#await somePromise} 2 |

Promise Pending

3 | {:catch error} 4 |

Promise Errored {error}

5 | {/await} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-then-catch-shorthand/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 0, "endLine": 1 }, 3 | { "startLine": 2, "endLine": 3 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-then-catch-shorthand/input.svelte: -------------------------------------------------------------------------------- 1 | {#await Promise.resolve() then value} 2 | {value} 3 | {:catch} 4 | error 5 | {/await} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-then-catch/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 0, "endLine": 1 }, 3 | { "startLine": 2, "endLine": 3 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-then-catch/input.svelte: -------------------------------------------------------------------------------- 1 | {#await Promise.resolve() then value} 2 | {value} 3 | {:catch error} 4 | {error} 5 | {/await} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-then/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 0, "endLine": 1 }, 3 | { "startLine": 6, "endLine": 7 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/await-then/input.svelte: -------------------------------------------------------------------------------- 1 | {#await somePromise then value} 2 |

Promise Pending

3 | {/await} 4 | 5 | {#await somePromise 6 | 7 | then value} 8 |

Promise Pending

9 | {/await} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/each-block/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 0, "endLine": 1 }, 3 | { "startLine": 5, "endLine": 6 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/each-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#each items as item} 2 | {item} 3 | {/each} 4 | 5 | {#each items as 6 | item} 7 | {item} 8 | {/each} 9 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/each-else/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 0, "endLine": 1 }, 3 | { "startLine": 2, "endLine": 3 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/each-else/input.svelte: -------------------------------------------------------------------------------- 1 | {#each items as item} 2 | {item} 3 | {:else} 4 | no items 5 | {/each} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/each-keyed/expectedv2.json: -------------------------------------------------------------------------------- 1 | [{ "startLine": 2, "endLine": 3 }] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/each-keyed/input.svelte: -------------------------------------------------------------------------------- 1 | {#each items as 2 | {id} 3 | (id)} 4 | {id} 5 | {/each} 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/key-block/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 0, "endLine": 1 }, 3 | { "startLine": 6, "endLine": 7 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/key-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#key hi} 2 | {hi} 3 | {/key} 4 | 5 | {#key 6 | 7 | hi} 8 | {hi} 9 | {/key} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/parser-error/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 1, "endLine": 2 }, 3 | { "startLine": 6, "endLine": 7 }, 4 | { "startLine": 8, "endLine": 9 } 5 | ] 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/parser-error/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 | {#if 'hi'} 8 |
9 | {:else} 10 |
11 | {/if 12 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/script/expectedv2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "startLine": 1, "endLine": 2, "kind": "imports" }, 3 | { "startLine": 4, "endLine": 5 } 4 | ] 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/folding-range/fixtures/script/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/.gitignore: -------------------------------------------------------------------------------- 1 | debug.svelte -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/$$props/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/$$props/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/$$restProps/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/$$restProps/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/$$slots/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/$$slots/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | {#if $$slots.default} 4 |
5 | {/if} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/$store/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/$store/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/action/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/animation/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 | {#each items as item (item.id)} 8 |
9 | {/each} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/disable-argument-name-match/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/disable-type-name-match/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/each/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {#each items as item, i} 6 | {item} 7 | {/each} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/element-handler/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/property-declaration/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/reactive-varable/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/snippet.v5/input.svelte: -------------------------------------------------------------------------------- 1 | {#snippet hi2(a = 1)} 2 | hello world 3 | {/snippet} 4 | 5 | {@render hi2(1)} -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/transition/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/union-type-props/expectedv2.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/features/inlayHints/fixtures/union-type-props/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/call-hierarchy/another-ref-format-date.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/check-js/codeaction-custom-fix-all-component3.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-add-jsdoc.svelte: -------------------------------------------------------------------------------- 1 | 12 | 13 | {abc} 14 | {ab} 15 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-checkJs-module.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-checkJs.svelte: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-component-import.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-custom-fix-all-component.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-custom-fix-all-component2.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-custom-fix-all-component3.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-custom-fix-all-component4.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-custom-fix-all-component5.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/codeaction-custom-fix-all-store.svelte: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/fix-add-async.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/code-actions/fix-missing-function-element.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/completions/emptytext-imported.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/language-server/test/plugins/typescript/testfiles/completions/emptytext-importer.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 2 | 3 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/event-handler-svelte-component/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/event-handler/expectedv2.js: -------------------------------------------------------------------------------- 1 | { svelteHTML.createElement("h1", { "on:click":()=>console.log("click"),"on:UpperCaseEvent":() => log('hi'),}); } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/event-handler/input.svelte: -------------------------------------------------------------------------------- 1 |

console.log("click")} on:UpperCaseEvent={() => log('hi')}>Hello

-------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/expression-nullish-coalescing-optional-chaining/expectedv2.js: -------------------------------------------------------------------------------- 1 | { svelteHTML.createElement("h1", {}); your?.name ?? 'Unknown'; } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/expression-nullish-coalescing-optional-chaining/input.svelte: -------------------------------------------------------------------------------- 1 |

Hello {your?.name ?? 'Unknown'}

-------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/html-block/expectedv2.js: -------------------------------------------------------------------------------- 1 | myfile + someOtherFile; -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/html-block/input.svelte: -------------------------------------------------------------------------------- 1 | {@html myfile + someOtherFile } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-block/expectedv2.js: -------------------------------------------------------------------------------- 1 | if(name == "world"){ 2 | { svelteHTML.createElement("h1", {}); name; } 3 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#if name == "world"} 2 |

Hello {name}

3 | {/if} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-comma-block/expectedv2.js: -------------------------------------------------------------------------------- 1 | if(true, false){ 2 | { svelteHTML.createElement("h1", {}); name; } 3 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-comma-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#if (true, false)} 2 |

Hello {name}

3 | {/if} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-else-block/expectedv2.js: -------------------------------------------------------------------------------- 1 | if(name == "world"){ 2 | { svelteHTML.createElement("h1", {}); name; } 3 | }else{ 4 | { svelteHTML.createElement("h2", {}); name; } 5 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-else-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#if name == "world"} 2 |

Hello {name}

3 | {:else} 4 |

hello {name}

5 | {/if} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-else-if-block/expectedv2.js: -------------------------------------------------------------------------------- 1 | if(name1 == "world"){ 2 | { svelteHTML.createElement("h1", {}); name2; } 3 | } else if (name3 == "person"){ 4 | { svelteHTML.createElement("h2", {}); name4; } 5 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-else-if-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#if name1 == "world"} 2 |

Hello {name2}

3 | {:else if name3 == "person"} 4 |

hello {name4}

5 | {/if} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-else-if-nullish-coalescing/expectedv2.js: -------------------------------------------------------------------------------- 1 | if((name1 ?? "bla") == "world"){ 2 | { svelteHTML.createElement("h1", {}); name2; } 3 | } else if (name3 ?? "blubb"){ 4 | { svelteHTML.createElement("h2", {}); name4; } 5 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-else-if-nullish-coalescing/input.svelte: -------------------------------------------------------------------------------- 1 | {#if (name1 ?? "bla") == "world"} 2 |

Hello {name2}

3 | {:else if name3 ?? "blubb"} 4 |

hello {name4}

5 | {/if} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-else-if-optional-chaining/expectedv2.js: -------------------------------------------------------------------------------- 1 | if(obj?.name1 == "world"){ 2 | { svelteHTML.createElement("h1", {}); name2; } 3 | } else if (obj?.name3 == "person"){ 4 | { svelteHTML.createElement("h2", {}); name4; } 5 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/if-else-if-optional-chaining/input.svelte: -------------------------------------------------------------------------------- 1 | {#if obj?.name1 == "world"} 2 |

Hello {name2}

3 | {:else if obj?.name3 == "person"} 4 |

hello {name4}

5 | {/if} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/key-block/expectedv2.js: -------------------------------------------------------------------------------- 1 | value; 2 | { svelteHTML.createElement("p", {}); } 3 | 4 | $store; 5 | { svelteHTML.createElement("p", {}); } 6 | 7 | expr.obj; 8 | { svelteHTML.createElement("p", {}); } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/key-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#key value} 2 |

hello

3 | {/key} 4 | {#key $store} 5 |

hello

6 | {/key} 7 | {#key expr.obj} 8 |

hello

9 | {/key} 10 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/namespaced-attributes/expectedv2.js: -------------------------------------------------------------------------------- 1 | 2 | { svelteHTML.createElement("use", { "xlink:href":test,});} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/namespaced-attributes/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/nested-if-else-if-and-each-block/expectedv2.js: -------------------------------------------------------------------------------- 1 | if(true){ 2 | if(true){} else if (true){} 3 | }else{ 4 | for(let _ of __sveltets_2_ensureArray([])){} 5 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/nested-if-else-if-and-each-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#if true} 2 | {#if true}{:else if true}{/if} 3 | {:else} 4 | {#each [] as _}{/each} 5 | {/if} 6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/quotes-inside-quotes/input.svelte: -------------------------------------------------------------------------------- 1 | {}} /> 2 | {}} /> -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/sapper-noscroll/expectedv2.js: -------------------------------------------------------------------------------- 1 | { svelteHTML.createElement("a", {"sapper:noscroll":true,}); } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/sapper-noscroll/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/sapper-prefetch/expectedv2.js: -------------------------------------------------------------------------------- 1 | { svelteHTML.createElement("a", {"sapper:prefetch":true,}); } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/sapper-prefetch/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/simple-expression/expectedv2.js: -------------------------------------------------------------------------------- 1 | { svelteHTML.createElement("h1", {}); name; } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/simple-expression/input.svelte: -------------------------------------------------------------------------------- 1 |

Hello {name}

-------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/sveltehead-title/expectedv2.js: -------------------------------------------------------------------------------- 1 | { svelteHTML.createElement("svelte:head", {}); 2 | { svelteHTML.createElement("title", {}); } 3 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/sveltehead-title/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | Home 3 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/svg-attributes/expectedv2.js: -------------------------------------------------------------------------------- 1 | { svelteHTML.createElement("svg", { "width":`12`,"height":`12`,"viewBox":`0 0 24 24`,}); } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/svg-attributes/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/tokens-not-allowed-in-jsx/expectedv2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/language-tools/ef92ff314e6f647c10c36b04c151da911453e19e/packages/svelte2tsx/test/htmlx2jsx/samples/tokens-not-allowed-in-jsx/expectedv2.js -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/tokens-not-allowed-in-jsx/input.svelte: -------------------------------------------------------------------------------- 1 | }> 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/transition-bare/input.svelte: -------------------------------------------------------------------------------- 1 |

Hello

2 |

Hello

3 |

Hello

-------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/transition-modifiers/expectedv2.js: -------------------------------------------------------------------------------- 1 | { svelteHTML.createElement("div", { });__sveltets_2_ensureTransition(slide(svelteHTML.mapElementTag('div'))); 2 | item; 3 | } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/transition-modifiers/input.svelte: -------------------------------------------------------------------------------- 1 |
2 | {item} 3 |
-------------------------------------------------------------------------------- /packages/svelte2tsx/test/htmlx2jsx/samples/void-elements/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/event-binding/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/if-block/input.svelte: -------------------------------------------------------------------------------- 1 | {#if foo} 2 | 3 | {/if} 4 | 5 | {#if $foo}{/if} 6 | 7 | {#if foo} 8 | 9 | {:else if bar} 10 | 11 | {:else} 12 | 13 | {/if} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/import-equal/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/import-equal/test.jsx: -------------------------------------------------------------------------------- 1 | /** tested-ranges: [] */ 2 | /** origin-hash: 2qcima */ -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/let/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/property-shorthand/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/property-shorthand/test.jsx: -------------------------------------------------------------------------------- 1 | /** tested-ranges: [] */ 2 | /** origin-hash: 1gpiqzz */ -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/reactive-statements/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/simple-element/input.svelte: -------------------------------------------------------------------------------- 1 |

Hello World

-------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/simple-element/test.jsx: -------------------------------------------------------------------------------- 1 | /** tested-ranges: [] */ 2 | /** origin-hash: 1km0uiy */ -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/slot-let/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | {hi}{hi_2}{hi3} 3 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/sourcemaps/samples/slots/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | fallback 4 | 5 | fallback 6 | 7 | fallback 11 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/$store-index/input.svelte: -------------------------------------------------------------------------------- 1 | {someRecordOrArr[$store]} 2 | {someObject['$store']} 3 | {someObject.$store} 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/$store-nested-declaration/input.svelte: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/$store-no-instance-only-module-script/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | {$store1} 7 | {$store2} 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/$store-prop-init/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/accessors-config-attr-false/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/accessors-config/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/array-binding-export/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/ast-offset-none/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/ast-offset-some/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/attributes-foreign-ns/input.svelte: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/binding-group-store/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/commented-out-script/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-default-slot/input.svelte: -------------------------------------------------------------------------------- 1 | 4 |
5 | Hello 6 |
7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-events-interface/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-events-type/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-crazy-attributes/input.svelte: -------------------------------------------------------------------------------- 1 | 4 |
5 | Hello 6 |
7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-fallback/input.svelte: -------------------------------------------------------------------------------- 1 |
fallback content
2 | 3 |

fallback

4 |
-------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-forward-with-props/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-inside-each/input.svelte: -------------------------------------------------------------------------------- 1 | {#each items as item} 2 | Hello 3 | {/each} 4 | {#each items2 as { a }} 5 | Hello 6 | {/each} 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-let-forward-named-slot/input.svelte: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 |
6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-let-forward/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-no-space/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |
xx
-------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-object-key/input.svelte: -------------------------------------------------------------------------------- 1 | {#each items as item} 2 | Hello 3 | {/each} 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-slot-var-shadowing/input.svelte: -------------------------------------------------------------------------------- 1 | {#each items as items} 2 | Hello 3 | {/each} 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-with-documentation/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 |
At least I am documented
4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/component-with-multiline-documentation/input.svelte: -------------------------------------------------------------------------------- 1 | 9 | 10 |
At least I am documented
11 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/creates-no-script-dts/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | {#await Promise.resolve(0) then n} 3 | {n} 4 | {/await} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/custom-css-properties-with-$store/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/debug-block/input.svelte: -------------------------------------------------------------------------------- 1 | {@debug myfile} 2 | {@debug $myfile , someOtherFile } 3 | {@debug myfile, $someOtherFile, someThirdFile } -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/editing-mustache/input.svelte: -------------------------------------------------------------------------------- 1 | {a?.} 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/empty-source/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/event-and-forwarded-event/input.svelte: -------------------------------------------------------------------------------- 1 | 7 | 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/event-bubble-component-multi/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/event-bubble-component-with-props/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/event-bubble-component/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/event-bubble-element/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/event-bubble-svelte-element/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/export-class/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/export-const-array-destructuring/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/export-destructuring/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/export-js-required-props/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/export-references-local/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/export-with-default-multi/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/filename-is-invalid-identifiers-only/0.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/language-tools/ef92ff314e6f647c10c36b04c151da911453e19e/packages/svelte2tsx/test/svelte2tsx/samples/filename-is-invalid-identifiers-only/0.svelte -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/import-equal/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/import-leading-comment/input.svelte: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/import-single-quote/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/imports-module-instance/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/imports/input.svelte: -------------------------------------------------------------------------------- 1 |

hello {world}

2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/jsdoc-before-first-import/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/module-script-and-script-in-line/input.svelte: -------------------------------------------------------------------------------- 1 |

hello {world}

2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/module-script-and-script-in-line2/input.svelte: -------------------------------------------------------------------------------- 1 |

hello {world}

2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/module-script-and-script/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 8 |

hello {world}

9 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/module-script-and-script2/input.svelte: -------------------------------------------------------------------------------- 1 |

hello {world}

2 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/module-script-and-script3.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 8 |

hello {world}

9 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/object-binding-export/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/props-variable-and-$props.id-destructured.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | {id} {props} 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/props-variable-and-$props.id-not-$props-init.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | {id} {props} 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/props-variable-and-$props.id-spread.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | {id} {props} 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/props-variable-and-$props.id.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | {id} {props} 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/reactive-assignment-type-cast/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/reactive-block/input.svelte: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/reactive-break-$/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/reactive-declare-object/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/reactive-declare-same-name-as-import/input.svelte: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/reactive-declare/input.svelte: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/reactive-store-set/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/renamed-exports-runes.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/renamed-exports/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/runes-best-effort-types.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/runes-bindable.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/runes-looking-like-stores.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 | {state} {derived} 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/runes-only-export.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | {x} 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/runes-with-slots.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/runes.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/script-and-module-script/input.svelte: -------------------------------------------------------------------------------- 1 | 5 |

hello {world}

6 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/script-in-rawhtml/input.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 | {@html ``} 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/script-on-bottom/input.svelte: -------------------------------------------------------------------------------- 1 |

hello {world}

2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/script-style-like-component/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/self-closing-component/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/single-element/input.svelte: -------------------------------------------------------------------------------- 1 |

hello

-------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/single-export/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/slot-bind-this/input.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/snippet-instance-script.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | {#snippet bar()} 7 | hello {foo} 8 | {/snippet} 9 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/snippet-module-hoist-5.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {#snippet foo()}{/snippet} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/snippet-module-hoist-6.v5/input.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {#snippet _foo()}{/snippet} -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/stores-looking-like-runes/input.svelte: -------------------------------------------------------------------------------- 1 | 9 | 10 | {state} {derived} 11 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/stores-mustache/input.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/svelte2tsx/test/svelte2tsx/samples/style-after-selfclosing-iframe/input.svelte: -------------------------------------------------------------------------------- 1 |