16 lines
316 B
TypeScript
16 lines
316 B
TypeScript
declare interface WxLoginOptions {
|
|||
|
|
self_redirect?: boolean;
|
||
|
|
id: string;
|
||
|
|
appid: string;
|
||
|
|
scope: string;
|
||
|
|
redirect_uri: string;
|
||
|
|
state?: string;
|
||
|
|
style?: string;
|
||
|
|
href?: string;
|
||
|
|
onReady?: (isReady: boolean) => void;
|
||
|
|
}
|
||
|
|
|
||
|
|
declare class WxLogin {
|
||
|
|
constructor(options: WxLoginOptions);
|
||
|
|
}
|