typed-wx-api
Version:
Typed Wechat API
13 lines (12 loc) • 484 B
TypeScript
import { TicketStorage, TokenStorage } from '../../storage';
import { WxSpAuth, WxSpAuthorizer, WxSpBase, WxSpTicket } from './api';
export interface WxSpAPI extends WxSpBase, WxSpTicket, WxSpAuthorizer, WxSpAuth {
}
export declare class WxSpAPI extends WxSpBase {
constructor(config: {
componentAppid: string;
componentAppSecret: string;
token: string;
encodingAESKey: string;
}, tokenStorage?: TokenStorage, ticketStorage?: TicketStorage);
}