miniapp-web-jsapi
Version:
JSAPI/View adapter for miniprogram running on the web
12 lines (11 loc) • 484 B
TypeScript
import { RpcOptions } from '@/web/index';
import { MapT } from '@/common/commonDeclares';
export declare function getSiteName(): string | undefined;
export declare function getAppName(): string | undefined;
export declare function getAppId(): string | undefined;
export declare function getRpcOptions(): RpcOptions;
export declare function parseQueryParams(str: string): MapT<string>;
/**
* 是否为本地预览地址
*/
export declare function isLocalhost(host: string): boolean;