This commit is contained in:
2026-11-02 12:42:04 +00:00
commit e4e28174bf
5498 changed files with 1735888 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import type { NormalizedParserOptions } from "./parser-options.js";
/**
* Translate a Svelte component to the virtual TypeScript shim. Returns
* `null` if the configured script parser is not TypeScript or parsing fails.
*/
export declare function svelteToVirtualTypeScript(filePath: string, content: string, parserOptions: NormalizedParserOptions): string | null;