mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
44def350a0
* Some core code modify to TS ( core/data/... ) ( bug fixed ) * Some core code modify to TS ( Fixed the problem before ) * change for of
24 lines
632 B
TypeScript
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;
|
|
}
|