@ts-ast-parser/core
Version:
Reflects a simplified version of the TypeScript AST for generating documentation
8 lines • 413 B
TypeScript
import type { ProjectContext } from '../project-context.js';
import type { ReflectedNode } from '../reflected-node.js';
import type ts from 'typescript';
export interface NodeFactory<Model extends object, Node extends ReflectedNode<Model>, TSNode extends ts.Node> {
isNode(node: ts.Node): node is TSNode;
create(node: ts.Node, context: ProjectContext): Node[];
}
//# sourceMappingURL=node-factory.d.ts.map