@nestia/sdk
Version:
Nestia SDK and Swagger generator
15 lines (14 loc) • 687 B
TypeScript
import { IReflectImport } from "../structures/IReflectImport";
export declare namespace ImportAnalyzer {
/**
* @deprecated Removed in the Go-migration cycle. Import metadata is now
* attached by the native transformer in
* `packages/core/native/cmd/ttsc-nestia` and consumed via
* `IOperationMetadata.imports`. Call sites that previously walked a
* `ts.SourceFile` to derive imports should read the metadata delivered
* through `Reflect.getMetadata("nestia/OperationMetadata", …)` instead. See
* `packages/core/MIGRATION.md`.
*/
const analyze: () => never;
const merge: (imports: IReflectImport[]) => IReflectImport[];
}