import { HostBinding , HostListener , Input , Output } from '@angular/core' ; import { ClockInterface } from './clock.interface' ; deprecated interface LabelledTodo { title : string ; completed : Boolean ; editing ? : Boolean ; readonly x : number ; } export interface ValueInRes { [ '__allAnd' ] : boolean ; [ '__allOr' ] : boolean ; [ property ] : any ; } /**
 * A function type interface just for documentation purpose
 * ```typescript
 * let mySearch: SearchFunc;
 * mySearch = function(source: string, subString: string) {
 *     let result = source.search(subString);
 *     if (result == -1) {
 *         return false;
 *     }
 *     else {
 *         return true;
 *     }
 * }
 * ```
 */ interface SearchFunc { param { string } source param { string } subString ( source , subString ) : boolean ; } /**
 * A indexable interface just for documentation purpose
 * ```typescript
 * let myArray: StringArray;
 * myArray = ["Bob", "Fred"];
 * ```
 */ interface StringArray { [ index ] : string ; } class Clock implements ClockInterface { example currentTime : Date ; example get emptyAccessor ( ) { return this . _emptyAccessor ; } set emptyAccessor ( val ) { this . _emptyAccessor = val ; } private _emptyAccessor = '' ; constructor ( h , m ) { } example @ HostBinding ( '' ) emptyHostBinding : string ; example @ HostListener ( '' ) emptyHostListener ( ) { } example @ Input ( ) public emptyInput : string ; example @ Output ( ) public emptyOutput : string ; param emptyParam returns emptyMethod ( emptyParam ) { return emptyParam ; } } deprecated interface IDATA { deprecated value : [ number , string , number [ ] ] ; value2 : [ string , string , ... boolean [ ] ] ; }