保誠-保戶業務員媒合平台
Tomas
2022-05-19 957a1f10a06fdbb76f1a0ba94fe44126c613fee3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
 * These are type definitions for the upcoming webpack v5 release.
 *
 * Webpack v5 is currently in beta so the v4 definitions should remain the
 * default exported types as long as v4 remains the stable version.
 *
 * This file exists to give contributors to DefinitelyTyped the ability to
 * update the types for webpack in advance of the v5 release.
 * Once v5 is promoted as stable release we can then move the v4 types
 * into an old version and apply the types from this file to the definitions
 * and publish them as v5.
 *
 * To load the types declared here in an actual project, there are three ways:
 * The easiest one, if your `tsconfig.json` already has a `"types"` array in
 * the `"compilerOptions"` section, is to add`"webpack/next"` to the `"types"`
 * array.
 *
 * Alternatively, a specific import syntax can to be used from a typescript
 * file.
 * This module does not exist in reality, which is why the {} is important:
 *
 * ```ts
 * import {} from 'webpack/next'
 * ```
 *
 * It is also possible to include it through a triple-slash reference:
 *
 * ```ts
 * /// <reference types="webpack/next" />
 * ```
 *
 * Either the import or the reference only needs to appear once,
 * anywhere in the project.
 */
 
import Webpack = require('.');
 
export {};
 
declare module '.' {
    namespace Stats {
        interface ToStringOptionsObject {
            /**
             * preset for the default values
             */
            preset?: Preset | undefined;
        }
    }
}