@jsdocs-io/extractor
Version:
Analyze and extract the API from npm packages
17 lines • 711 B
TypeScript
import * as tsm from 'ts-morph';
import { VariableDeclaration } from '../types/module-declarations';
import { SourceProvider } from './source-provider';
export declare function isVariable(declaration: tsm.Node): declaration is tsm.VariableDeclaration;
export declare function newVariable({ id, name, declaration, getSource, suggestedType, }: {
id: string;
name: string;
declaration: tsm.VariableDeclaration;
getSource: SourceProvider;
suggestedType?: string;
}): VariableDeclaration;
export declare function getVariableSignature({ variableKind, name, type, }: {
variableKind: string;
name: string;
type: string;
}): string;
//# sourceMappingURL=variables.d.ts.map