mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
30 lines
669 B
TypeScript
30 lines
669 B
TypeScript
import GlobEntriesPlugin = require('webpack-watched-glob-entries-plugin');
|
|
|
|
new GlobEntriesPlugin(); // $ExpectType WebpackWatchedGlobEntries
|
|
|
|
GlobEntriesPlugin.getEntries(['']); // $ExpectType EntryFunc
|
|
|
|
// $ExpectType EntryFunc
|
|
GlobEntriesPlugin.getEntries([''], {
|
|
ignore: ''
|
|
});
|
|
|
|
// $ExpectType EntryFunc
|
|
GlobEntriesPlugin.getEntries([''], {
|
|
ignore: '',
|
|
}, {
|
|
basename_as_entry_name: true,
|
|
});
|
|
|
|
GlobEntriesPlugin.getFiles(''); // $ExpectType Record<string, string>
|
|
|
|
// $ExpectType Record<string, string>
|
|
GlobEntriesPlugin.getFiles('', {
|
|
ignore: '',
|
|
});
|
|
|
|
// $ExpectType Record<string, string>
|
|
GlobEntriesPlugin.getFiles('', {
|
|
ignore: '',
|
|
}, true);
|