update typescript and remove reflect-metadata lib
This commit is contained in:
4
doric-js/lib/src/native/coordinator.d.ts
vendored
4
doric-js/lib/src/native/coordinator.d.ts
vendored
@@ -6,14 +6,14 @@ import { View } from "../ui/view";
|
||||
import { Color } from "../util/color";
|
||||
export declare function coordinator(context: BridgeContext): {
|
||||
verticalScrolling: (argument: {
|
||||
scrollable: List | Scroller | FlowLayout;
|
||||
scrollable: Scroller | List | FlowLayout;
|
||||
scrollRange: {
|
||||
start: number;
|
||||
end: number;
|
||||
};
|
||||
target: View | "NavBar";
|
||||
changing: {
|
||||
name: "width" | "height" | "x" | "y" | "backgroundColor" | "alpha";
|
||||
name: "backgroundColor" | "width" | "height" | "x" | "y" | "alpha";
|
||||
start: number | Color;
|
||||
end: number | Color;
|
||||
};
|
||||
|
18
doric-js/lib/src/native/modal.d.ts
vendored
18
doric-js/lib/src/native/modal.d.ts
vendored
@@ -5,20 +5,20 @@ export declare function modal(context: BridgeContext): {
|
||||
alert: (arg: string | {
|
||||
title: string;
|
||||
msg: string;
|
||||
okLabel?: string | undefined;
|
||||
okLabel?: string;
|
||||
}) => Promise<any>;
|
||||
confirm: (arg: string | {
|
||||
title: string;
|
||||
msg: string;
|
||||
okLabel?: string | undefined;
|
||||
cancelLabel?: string | undefined;
|
||||
okLabel?: string;
|
||||
cancelLabel?: string;
|
||||
}) => Promise<any>;
|
||||
prompt: (arg: {
|
||||
title?: string | undefined;
|
||||
msg?: string | undefined;
|
||||
okLabel?: string | undefined;
|
||||
cancelLabel?: string | undefined;
|
||||
text?: string | undefined;
|
||||
defaultText?: string | undefined;
|
||||
title?: string;
|
||||
msg?: string;
|
||||
okLabel?: string;
|
||||
cancelLabel?: string;
|
||||
text?: string;
|
||||
defaultText?: string;
|
||||
}) => Promise<string>;
|
||||
};
|
||||
|
6
doric-js/lib/src/native/notification.d.ts
vendored
6
doric-js/lib/src/native/notification.d.ts
vendored
@@ -1,10 +1,10 @@
|
||||
import { BridgeContext } from "../runtime/global";
|
||||
export declare function notification(context: BridgeContext): {
|
||||
publish: (args: {
|
||||
biz?: string | undefined;
|
||||
biz?: string;
|
||||
name: string;
|
||||
data?: object | undefined;
|
||||
androidSystem?: boolean | undefined;
|
||||
data?: object;
|
||||
androidSystem?: boolean;
|
||||
}) => Promise<any>;
|
||||
subscribe: (args: {
|
||||
biz?: string | undefined;
|
||||
|
Reference in New Issue
Block a user