v0.13.3
Fixes
-
component module exports should not be recognized as accessors (ae85e72)
Input
<script context="module"> /** * Log something (export) * @type {(message: string) => void} */ export function log(message) { console.log(message); } </script> <script> /** * Log something (accessor) * @type {(message: string) => void} */ export function log(message) { console.log(message); } </script>
Output
/// <reference types="svelte" /> import { SvelteComponentTyped } from "svelte"; /** * Log something (export) */ export type log = (message: string) => void; export interface InputProps {} export default class Input extends SvelteComponentTyped<InputProps, {}, {}> { /** * Log something (accessor) */ log: (message: string) => void; }