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

0.3.4 • Public • Published

Installation

npm install --save @types/karma-json-preprocessor

Summary

This package contains type definitions for karma-json-preprocessor (https://github.com/mjeanroy/karma-json-preprocessor#readme).

Details

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

index.d.ts

import "karma";

declare module "karma" {
    interface ConfigOptions {
        /**
         * see {@link https://github.com/mjeanroy/karma-json-preprocessor#configuration-1}
         */
        jsonPreprocessor?: JsonPreprocessorOptions | undefined;
    }

    /**
     * Default global variable name is by default `__json__`,
     * but you can override it with your own name in karma configuration:
     */
    interface JsonPreprocessorOptions {
        /**
         * @default '__json__'
         */
        varName?: string | undefined;
        /**
         * @default ''
         */
        stripPrefix?: string | undefined;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: @types/karma

Credits

These definitions were written by Piotr Błażejewicz (Peter Blazejewicz).

Readme

Keywords

none

Package Sidebar

Install

npm i @types/karma-json-preprocessor

Weekly Downloads

11

Version

0.3.4

License

MIT

Unpacked Size

4.11 kB

Total Files

5

Last publish

Collaborators

  • types