智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/3f/3f4c210ac2ea724acc2bcd3a2aa...

28 lines
873 B

declare namespace types {
interface Collection<T> {}
interface List<T> extends Collection<T> {
[index: number]: T;
length: number;
}
interface ListIterator<T, TResult> {
(value: T, index: number, list: List<T>): TResult;
}
interface Dictionary<T> extends Collection<T> {
[index: string]: T;
}
interface ObjectIterator<T, TResult> {
(element: T, key: string, list: Dictionary<T>): TResult;
}
interface MemoIterator<T, TResult> {
(prev: TResult, curr: T, index: number, list: List<T>): TResult;
}
interface MemoObjectIterator<T, TResult> {
(prev: TResult, curr: T, key: string, list: Dictionary<T>): TResult;
}
type Fn<T> = (...args: any[]) => T;
type AnyFn = Fn<any>;
type PlainObj<T> = { [name: string]: T };
}
declare const types: {};
export = types;