Files
Panayot Cankov 1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00

23 lines
1.2 KiB
TypeScript

declare var OS_ACTIVITY_FLAG_DEFAULT: number;
declare var OS_ACTIVITY_FLAG_DETACHED: number;
declare var __dso_handle: interop.Pointer | interop.Reference<any>;
declare function _os_activity_initiate(dso: interop.Pointer | interop.Reference<any>, description: string, flags: number, activity_block: () => void): void;
declare function _os_activity_initiate_f(dso: interop.Pointer | interop.Reference<any>, description: string, flags: number, context: interop.Pointer | interop.Reference<any>, activity_func: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void;
declare function _os_activity_set_breadcrumb(dso: interop.Pointer | interop.Reference<any>, name: string): void;
declare function _os_activity_start(dso: interop.Pointer | interop.Reference<any>, description: string, flags: number): number;
declare function os_activity_end(activity_id: number): void;
declare function os_activity_get_active(entries: interop.Pointer | interop.Reference<number>, count: interop.Pointer | interop.Reference<number>): number;
declare function os_release(object: interop.Pointer | interop.Reference<any>): void;
declare function os_retain(object: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;