mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-27 00:15:09 +08:00
22 lines
634 B
TypeScript
22 lines
634 B
TypeScript
// Type definitions for js-fixtures 1.2.0
|
|
// Project: https://github.com/badunk/js-fixtures
|
|
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
interface Fixtures {
|
|
path: string;
|
|
containerId: string;
|
|
body(): string;
|
|
window(): Window;
|
|
set(html: string): void;
|
|
appendSet(html: string): void;
|
|
preload(...urls: string[]): void;
|
|
load(...urls: string[]): void;
|
|
appendLoad(...urls: string[]): void;
|
|
read(...urls: string[]): string;
|
|
clearCache(): void;
|
|
cleanUp(): void;
|
|
}
|
|
|
|
declare var fixtures: Fixtures;
|