mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
23 lines
546 B
TypeScript
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;
|
|
}
|