UNPKG

372 BTypeScriptView Raw
1/**
2 * Allows to specify a map of Types in the object without using @Type decorator.
3 * This is useful when you have external classes.
4 */
5export interface TargetMap {
6 /**
7 * Target which Types are being specified.
8 */
9 target: Function;
10 /**
11 * List of properties and their Types.
12 */
13 properties: {
14 [key: string]: Function;
15 };
16}