3.3.3 • Published 6 months ago

@types/prefresh__webpack v3.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for @prefresh/webpack 3.3
// Project: https://github.com/preactjs/prefresh#readme
// Definitions by: Ben Grynhaus <https://github.com/bengry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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

3.3.1

8 months ago

3.3.3

6 months ago

3.3.2

7 months ago

3.3.0

3 years ago