极光推送的启动在ts文件里怎么写?
来源:

你是我心中的小幸福_yxt
2016-09-17
按要求我是
window.plugins.jPushPlugin.init();
这样写的,但是报错
✗ TypeScript error: app/app.ts(39,14): Error TS2339: Property 'plugins' does not exist on type 'Window'.
请老师给说明一下该怎么写。
写回答
1回答
-
Parry
2016-09-18
请看第八章的 ts 中引用 js。
042016-09-18
相似问题
没有APP这个文件夹
回答 3
报错了~
回答 3