UNPKG

@irwinproject/storybook-addon-tsdoc

Version:
10 lines (9 loc) 485 B
import { Type } from "ts-morph"; import { Nodely } from "./types"; /** * Diving down to the underlying type provides lower level access to the typing however ts-morph provides a wonderul interface via their Node class. Since it completely crawls the Source File it seems more suitable to get the dclaration that is being referenced * @param t * @returns */ export declare const typeFromType: (t: Type | undefined) => string; export declare const nodesig: (node: Nodely) => string;