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).