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

0.2.8 • Public • Published

Installation

npm install --save @types/karma-fixture

Summary

This package contains type definitions for karma-fixture (https://github.com/billtrik/karma-fixture).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-fixture.

index.d.ts

declare namespace fixture {
    let el: HTMLElement;
    let json: any[];

    function load(...files: string[]): any;
    function load(file1: string, append?: boolean): any;
    function load(file1: string, file2: string, append?: boolean): any;
    function load(file1: string, file2: string, file3: string, append?: boolean): any;
    function load(file1: string, file2: string, file3: string, file4: string, append?: boolean): any;
    function load(file1: string, file2: string, file3: string, file4: string, file5: string, append?: boolean): any;

    function set(...htmlStrs: string[]): HTMLElement | HTMLElement[];
    function set(htmlStr1: string, append?: boolean): HTMLElement | HTMLElement[];
    function set(htmlStr1: string, htmlStr2: string, append?: boolean): HTMLElement | HTMLElement[];
    function set(htmlStr1: string, htmlStr2: string, htmlStr3: string, append?: boolean): HTMLElement | HTMLElement[];
    function set(
        htmlStr1: string,
        htmlStr2: string,
        htmlStr3: string,
        htmlStr4: string,
        append?: boolean,
    ): HTMLElement | HTMLElement[];
    function set(
        htmlStr1: string,
        htmlStr2: string,
        htmlStr3: string,
        htmlStr4: string,
        htmlStr5: string,
        append?: boolean,
    ): HTMLElement | HTMLElement[];

    function cleanup(): void;

    function setBase(fixtureBasePath: string): void;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: none

Credits

These definitions were written by Ezekiel Victor, and Afshawn Lotfi.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/karma-fixture

Weekly Downloads

342

Version

0.2.8

License

MIT

Unpacked Size

5.6 kB

Total Files

5

Last publish

Collaborators

  • types