android&iOS:create context set this to undefined
This commit is contained in:
1
doric-js/lib/src/native/index.native.d.ts
vendored
1
doric-js/lib/src/native/index.native.d.ts
vendored
@@ -5,3 +5,4 @@ export * from './network';
|
||||
export * from './storage';
|
||||
export * from './popover';
|
||||
export * from './animate';
|
||||
export * from './notification';
|
||||
|
@@ -20,3 +20,4 @@ export * from './network';
|
||||
export * from './storage';
|
||||
export * from './popover';
|
||||
export * from './animate';
|
||||
export * from './notification';
|
||||
|
2
doric-js/lib/src/native/notification.d.ts
vendored
2
doric-js/lib/src/native/notification.d.ts
vendored
@@ -9,7 +9,7 @@ export declare function notification(context: BridgeContext): {
|
||||
subscribe: (args: {
|
||||
biz: string;
|
||||
name: string;
|
||||
callback: (data?: object | undefined) => void;
|
||||
callback: (data?: any) => void;
|
||||
androidSystem?: boolean | undefined;
|
||||
}) => Promise<string>;
|
||||
unsubscribe: (subscribeId: string) => Promise<any>;
|
||||
|
Reference in New Issue
Block a user