-1
i utilise nativescript + tyepscript besoin d'étendre pot Android mais il jette exception dit « Type 'tout' est pas un type de fonction constructeur. »nativescript étendre pot exception throw de classe
declare var com : any;
export class MyPushTestReceives extends
com.baidu.android.pushservice.PushMessageReceiver.extend {
static constructorCalled: boolean = false;
// //constructor
init() {
MyPushTestReceives.constructorCalled = true;
// necessary when extending TypeScript constructors
return global.__native(this);
}
}