Installation
npm install --save @types/js-fixtures
Summary
This package contains type definitions for js-fixtures (https://github.com/badunk/js-fixtures).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-fixtures.
index.d.ts
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;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Kazi Manzur Rashid.