forked from pmmmwh/react-refresh-webpack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove disableRefreshCheck from NormalizedOptions
- Loading branch information
Showing
3 changed files
with
18 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
export = ReactRefreshPlugin; | ||
declare class ReactRefreshPlugin { | ||
/** | ||
* @param {import('./types').ReactRefreshPluginOptions} [options] Options for react-refresh-plugin. | ||
*/ | ||
constructor(options?: import('./types').ReactRefreshPluginOptions | undefined); | ||
/** | ||
* @readonly | ||
* @type {import('./types').NormalizedPluginOptions} | ||
*/ | ||
readonly options: import('./types').NormalizedPluginOptions; | ||
/** | ||
* Applies the plugin. | ||
* @param {import('webpack').Compiler} compiler A webpack compiler object. | ||
* @returns {void} | ||
*/ | ||
apply(compiler: import('webpack').Compiler): void; | ||
/** | ||
* @param {import('./types').ReactRefreshPluginOptions} [options] Options for react-refresh-plugin. | ||
*/ | ||
constructor(options?: import("./types").ReactRefreshPluginOptions | undefined); | ||
/** | ||
* @readonly | ||
* @type {import('./types').NormalizedPluginOptions} | ||
*/ | ||
readonly options: import('./types').NormalizedPluginOptions; | ||
/** | ||
* Applies the plugin. | ||
* @param {import('webpack').Compiler} compiler A webpack compiler object. | ||
* @returns {void} | ||
*/ | ||
apply(compiler: import("webpack").Compiler): void; | ||
} | ||
declare namespace ReactRefreshPlugin { | ||
export { ReactRefreshPlugin }; | ||
export { ReactRefreshPlugin }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters