1 | import { TypeHelpOptions, TypeOptions } from '../interfaces';
|
2 | /**
|
3 | * Specifies a type of the property.
|
4 | * The given TypeFunction can return a constructor. A discriminator can be given in the options.
|
5 | *
|
6 | * Can be applied to properties only.
|
7 | */
|
8 | export declare function Type(typeFunction?: (type?: TypeHelpOptions) => Function, options?: TypeOptions): PropertyDecorator;
|