mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Change export default to export =
This commit is contained in:
+4
-2
@@ -7,11 +7,13 @@
|
||||
import { IOptions } from 'glob';
|
||||
import { EntryFunc, Plugin } from 'webpack';
|
||||
|
||||
export interface PluginOptions {
|
||||
interface PluginOptions {
|
||||
basename_as_entry_name?: boolean;
|
||||
}
|
||||
|
||||
export default class WebpackWatchedGlobEntries extends Plugin {
|
||||
declare class WebpackWatchedGlobEntries extends Plugin {
|
||||
static getEntries(globs: string[], globOptions?: IOptions, pluginOptions?: PluginOptions): EntryFunc;
|
||||
static getFiles(globString: string, globOptions?: IOptions, basename_as_entry_name?: boolean): Record<string, string>;
|
||||
}
|
||||
|
||||
export = WebpackWatchedGlobEntries;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import GlobEntriesPlugin from 'webpack-watched-glob-entries-plugin';
|
||||
import GlobEntriesPlugin = require('webpack-watched-glob-entries-plugin');
|
||||
|
||||
new GlobEntriesPlugin(); // $ExpectType WebpackWatchedGlobEntries
|
||||
|
||||
|
||||
Reference in New Issue
Block a user