android - nativescript extend jar class throw exception -


i use nativescript + tyepscript need extend android jar throw exception “type 'any' not constructor function type.”

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); } } 


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

.net - Generate assembly with Roslyn -

batch file - filebot superstrict script: need tiny video sample or other solution -