Files

16 lines
316 B
TypeScript
Raw Permalink Normal View History

2026-08-07 21:40:55 +08:00
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);
}