UNPKG

bilibili-bangumi-component

Version:

展示 bilibili 与 Bangumi 追番列表的 WebComponent 组件

10 lines (9 loc) 514 B
import type { ResponseType } from './types'; export declare function serializeSearchParams(searchParams: object): string; export declare function parseSearchParams(url: URL): { [k: string]: string; }; export declare function numberToZh(num: number): string; export declare function formatUrl(baseUrl: string): string; export declare function generateRes(params: ResponseType): Response; export declare function thorttle<T extends (...args: any) => any>(fn: T, wait?: number): (...args: Parameters<T>) => void;