mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 15:42:39 +08:00
24 lines
586 B
TypeScript
24 lines
586 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;
|
|
|
|
const onShow: any;
|
|
const onHide: any;
|
|
}
|