UNPKG

572 BTypeScriptView Raw
1import * as ts from 'typescript';
2import { PluginOptions } from '../merge-options';
3export declare class ReadonlyVisitor {
4 private readonly options;
5 readonly key = "@nestjs/graphql";
6 private readonly modelClassVisitor;
7 get typeImports(): Record<string, string>;
8 constructor(options: PluginOptions);
9 visit(program: ts.Program, sf: ts.SourceFile): ts.Node;
10 collect(): {
11 models: [ts.CallExpression, Record<string, {
12 [x: string]: ts.ObjectLiteralExpression;
13 }>][];
14 };
15}
16//# sourceMappingURL=readonly.visitor.d.ts.map
\No newline at end of file