0.3.4 • Published 2 years ago
@types/karma-json-preprocessor v0.3.4
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).