npm.io
7.0.3 • Published 2 years ago

@types/karma-rollup-preprocessor

Licence
MIT
Version
7.0.3
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

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

Summary

This package contains type definitions for karma-rollup-preprocessor (https://github.com/jlmakes/karma-rollup-preprocessor).

Details

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

index.d.ts

import karma = require("karma");
import { RollupOptions } from "rollup";

declare module "karma" {
    interface ConfigOptions {
        /**
         * see {@link https://github.com/jlmakes/karma-rollup-preprocessor#configured-preprocessors}
         */
        rollupPreprocessor?: RollupPreprocessorOptions | undefined;
    }

    /**
     * Default global variable name is by default `__json__`,
     * but you can override it with your own name in karma configuration:
     */
    interface RollupPreprocessorOptions extends Exclude<RollupOptions, "input"> {}
}

Additional Details

Credits

These definitions were written by Piotr Błażejewicz.