Files
cocos4/@types/wx.d.ts
T
ChiaNing 44def350a0 Some core code modify to TS ( core/data/... ) ( bug fixed ) (#4466)
* Some core code modify to TS ( core/data/... ) ( bug fixed )

* Some core code modify to TS ( Fixed the problem before )

* change for of
2019-05-28 11:55:05 +08:00

24 lines
632 B
TypeScript

declare interface IWXEventManager<Event> {
(listener: (event: Event) => void): void;
}
declare namespace wx {
const onTouchStart: IWXEventManager<TouchEvent>;
const onTouchMove: IWXEventManager<TouchEvent>;
const onTouchEnd: IWXEventManager<TouchEvent>;
const onTouchCancel: IWXEventManager<TouchEvent>;
function getSystemInfoSync(): any;
class FileSystemManager {
}
function getFileSystemManager(): FileSystemManager;
function getSharedCanvas(): any;
function getOpenDataContext(): any;
function onShow(callback: Function): any;
function onHide(callback: Function): any;
}