UNPKG

getdocs2ts

Version:

This is a utility that transforms code documented with getdocs-style doc comments into TypeScript definition files

8 lines (7 loc) 479 B
import { GenEnv } from "./env"; import { Type, Declaration, ClassOrInterfaceDeclaration } from "./types"; export declare function miscDef(env: GenEnv, type: Type & { optional?: boolean; }, name: string, isInlineProp: boolean, processItemProperties?: boolean): void; export declare function classDef(env: GenEnv, decl: ClassOrInterfaceDeclaration, name: string): void; export declare function itemDef(env: GenEnv, decl: Declaration, name: string, exportDecl?: boolean): void;