UNPKG

494 BTypeScriptView Raw
1/**
2 * Annotation Factory that allows HTML style boolean attributes. For example,
3 * a field declared like this:
4
5 * @Directive({ selector: 'component' }) class MyComponent {
6 * @Input() @BooleanFieldValueFactory() myField: boolean;
7 * }
8 *
9 * You could set it up this way:
10 * <component myField>
11 * or:
12 * <component myField="">
13 * @deprecated
14 */
15declare function booleanFieldValueFactory(): (target: any, key: string) => void;
16export { booleanFieldValueFactory as BooleanFieldValue };