0.3.4 • Published 2 years ago

@types/karma-json-preprocessor v0.3.4

Weekly downloads
14
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for karma-json-preprocessor 0.3
// Project: https://github.com/mjeanroy/karma-json-preprocessor#readme
// Definitions by: Piotr Błażejewicz (Peter Blazejewicz) <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2

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: Thu, 08 Jul 2021 16:23:07 GMT
  • Dependencies: @types/karma
  • Global values: none

Credits

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

0.3.2

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.1

4 years ago

0.3.0

5 years ago