(ts_code: string, source_file: SourceFile, checker: TypeChecker, component_name: string, file_path: string, source_map: TraceMap | null, ctx: AnalysisContext): { ...; } Analyze a Svelte component from its svelte2tsx transformation.
ts_code
stringsource_file
SourceFilechecker
TypeCheckercomponent_name
stringfile_path
stringsource_map
TraceMap | nullctx
returns
{ [x: string]: unknown; name: string; kind: "function" | "type" | "json" | "variable" | "class" | "constructor" | "component" | "css"; doc_comment?: string | undefined; type_signature?: string | undefined; ... 17 more ...; alias_of?: { ...; } | undefined; }