mirror of https://github.com/webpack/webpack.git
fix(types): correct BuildInfo and BuildMeta type definitions (#19200)
This commit is contained in:
parent
8ac130a2c8
commit
ac6ffca02d
|
@ -97,10 +97,6 @@ const makeSerializable = require("./util/makeSerializable");
|
|||
|
||||
/**
|
||||
* @typedef {object} KnownBuildMeta
|
||||
* @property {string=} moduleArgument
|
||||
* @property {string=} exportsArgument
|
||||
* @property {boolean=} strict
|
||||
* @property {string=} moduleConcatenationBailout
|
||||
* @property {("default" | "namespace" | "flagged" | "dynamic")=} exportsType
|
||||
* @property {(false | "redirect" | "redirect-warn")=} defaultObject
|
||||
* @property {boolean=} strictHarmonyModule
|
||||
|
@ -113,6 +109,10 @@ const makeSerializable = require("./util/makeSerializable");
|
|||
* @typedef {object} KnownBuildInfo
|
||||
* @property {boolean=} cacheable
|
||||
* @property {boolean=} parsed
|
||||
* @property {string=} moduleArgument
|
||||
* @property {string=} exportsArgument
|
||||
* @property {boolean=} strict
|
||||
* @property {string=} moduleConcatenationBailout
|
||||
* @property {LazySet<string>=} fileDependencies
|
||||
* @property {LazySet<string>=} contextDependencies
|
||||
* @property {LazySet<string>=} missingDependencies
|
||||
|
|
|
@ -7482,6 +7482,10 @@ declare interface KnownAssetInfo {
|
|||
declare interface KnownBuildInfo {
|
||||
cacheable?: boolean;
|
||||
parsed?: boolean;
|
||||
moduleArgument?: string;
|
||||
exportsArgument?: string;
|
||||
strict?: boolean;
|
||||
moduleConcatenationBailout?: string;
|
||||
fileDependencies?: LazySet<string>;
|
||||
contextDependencies?: LazySet<string>;
|
||||
missingDependencies?: LazySet<string>;
|
||||
|
@ -7493,10 +7497,6 @@ declare interface KnownBuildInfo {
|
|||
snapshot?: null | Snapshot;
|
||||
}
|
||||
declare interface KnownBuildMeta {
|
||||
moduleArgument?: string;
|
||||
exportsArgument?: string;
|
||||
strict?: boolean;
|
||||
moduleConcatenationBailout?: string;
|
||||
exportsType?: "namespace" | "dynamic" | "default" | "flagged";
|
||||
defaultObject?: false | "redirect" | "redirect-warn";
|
||||
strictHarmonyModule?: boolean;
|
||||
|
|
Loading…
Reference in New Issue