TypeScript 声明函数类型变量
class Test {
constructor() {
}
private _callback:Function;
private _callback:(a:number, b:string)=>void;
}
class Test {
constructor() {
}
private _callback:Function;
private _callback:(a:number, b:string)=>void;
}