UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

22 lines (19 loc) 638 B
// 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/DefinitelyTyped/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;