@types/prefresh__webpack
TypeScript icon, indicating that this package has built-in type declarations

3.3.3 • Public • Published

Installation

npm install --save @types/prefresh__webpack

Summary

This package contains type definitions for @prefresh/webpack (https://github.com/preactjs/prefresh#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prefresh__webpack.

index.d.ts

/// <reference types="node" />
import { Compiler } from "webpack";

interface Options {
    overlay?: boolean;
    runsInNextJs?: boolean;
}

declare class PreactRefreshPlugin {
    constructor(options?: Options);

    apply(compiler: Compiler): void;
}

export = PreactRefreshPlugin;

Additional Details

Credits

These definitions were written by Ben Grynhaus.

/@types/prefresh__webpack/

    Package Sidebar

    Install

    npm i @types/prefresh__webpack

    Weekly Downloads

    110

    Version

    3.3.3

    License

    MIT

    Unpacked Size

    3.39 kB

    Total Files

    5

    Last publish

    Collaborators

    • types