jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
16 lines (15 loc) • 613 B
TypeScript
import type { RenderOptions } from 'jamis-core';
export declare function wait(duration: number, fnOrUseWaitFor?: Function | boolean): Promise<void>;
export declare function makeEnv(env?: Omit<Partial<RenderOptions>, 'fetcher'> & {
fetcher?: (...args: any[]) => any;
}): RenderOptions;
export declare const createMockMediaMatcher: (matchesOrMapOfMatches: any) => (qs: any) => {
matches: any;
media: string;
addListener: () => void;
addEventListener: () => void;
removeEventListener: () => void;
onchange: () => void;
removeListener: () => void;
dispatchEvent: () => boolean;
};