Files
cocos4/@types/wx.d.ts
T
2019-05-11 22:52:51 +08:00

23 lines
546 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;
const onShow: any;
const onHide: any;
}