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
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node, tapable, webpack
Credits
These definitions were written by Ben Grynhaus.