@types/js-fixtures
TypeScript icon, indicating that this package has built-in type declarations

1.2.31 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/js-fixtures

      Weekly Downloads

      1

      Version

      1.2.31

      License

      MIT

      Unpacked Size

      3.39 kB

      Total Files

      5

      Last publish

      Collaborators

      • types