UNPKG

629 BTypeScriptView Raw
1import { type DescriptionOptions, type ImplementsClassOptions, type ResolveTypeOptions } from "./types.js";
2export type InterfaceTypeOptions = DescriptionOptions & ResolveTypeOptions & ImplementsClassOptions & {
3 /**
4 * Set to false to prevent emitting in schema all object types
5 * that implements this interface type.
6 */
7 autoRegisterImplementations?: boolean;
8};
9export declare function InterfaceType(): ClassDecorator;
10export declare function InterfaceType(options: InterfaceTypeOptions): ClassDecorator;
11export declare function InterfaceType(name: string, options?: InterfaceTypeOptions): ClassDecorator;