typescript-extract-class.ts view source
(node: Node, checker: TypeChecker, declaration: DeclarationJsonBuild, diagnostics: ({ symbolName: string; file: string; message: string; severity: "error" | "warning"; kind: "type_extraction_failed"; line?: number | undefined; column?: number | undefined; } | ... 12 more ... | { ...; })[]): void Extract class information with rich member metadata.
node
the declaration AST node
type
Nodechecker
TypeScript type checker
type
TypeCheckerdeclaration
the declaration to populate
type DeclarationJsonBuild
diagnostics
diagnostics collector for non-fatal issues
type
({ symbolName: string; file: string; message: string; severity: "error" | "warning"; kind: "type_extraction_failed"; line?: number | undefined; column?: number | undefined; } | { functionName: string; ... 5 more ...; column?: number | undefined; } | ... 11 more ... | { ...; })[]returns
void