@nestia/sdk
Version:
Nestia SDK and Swagger generator
12 lines (11 loc) • 491 B
TypeScript
import ts from "typescript";
import { IReflectType } from "../structures/IReflectType";
import { IReflectTypeImport } from "../structures/IReflectTypeImport";
export declare namespace ImportAnalyzer {
interface IOutput {
imports: IReflectTypeImport[];
type: IReflectType | null;
}
const analyze: (checker: ts.TypeChecker, generics: WeakMap<ts.Type, ts.Type>, type: ts.Type) => IOutput;
const unique: (imports: IReflectTypeImport[]) => IReflectTypeImport[];
}