@stryker-mutator/api
Version:
The api for the extendable JavaScript mutation testing framework Stryker
19 lines • 688 B
TypeScript
import { FileDescriptions, StrykerOptions } from '../core/index.js';
import { Logger, LoggerFactoryMethod } from '../logging/index.js';
import { commonTokens } from './tokens.js';
/**
* The basic dependency injection context within Stryker
*/
export interface BaseContext {
[]: LoggerFactoryMethod;
[]: Logger;
}
/**
* The dependency injection context for most of Stryker's plugins.
* Can inject basic stuff as well as the Stryker options
*/
export interface PluginContext extends BaseContext {
[]: StrykerOptions;
[]: FileDescriptions;
}
//# sourceMappingURL=contexts.d.ts.map