3.3.3 • Published 6 months ago
@types/prefresh__webpack v3.3.3
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
- Last updated: Fri, 01 Oct 2021 23:31:35 GMT
- Dependencies: @types/webpack, @types/node
- Global values: none
Credits
These definitions were written by Ben Grynhaus.