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
|
* @typedef {object} KnownBuildMeta
|
||||||
* @property {string=} moduleArgument
|
|
||||||
* @property {string=} exportsArgument
|
|
||||||
* @property {boolean=} strict
|
|
||||||
* @property {string=} moduleConcatenationBailout
|
|
||||||
* @property {("default" | "namespace" | "flagged" | "dynamic")=} exportsType
|
* @property {("default" | "namespace" | "flagged" | "dynamic")=} exportsType
|
||||||
* @property {(false | "redirect" | "redirect-warn")=} defaultObject
|
* @property {(false | "redirect" | "redirect-warn")=} defaultObject
|
||||||
* @property {boolean=} strictHarmonyModule
|
* @property {boolean=} strictHarmonyModule
|
||||||
|
@ -113,6 +109,10 @@ const makeSerializable = require("./util/makeSerializable");
|
||||||
* @typedef {object} KnownBuildInfo
|
* @typedef {object} KnownBuildInfo
|
||||||
* @property {boolean=} cacheable
|
* @property {boolean=} cacheable
|
||||||
* @property {boolean=} parsed
|
* @property {boolean=} parsed
|
||||||
|
* @property {string=} moduleArgument
|
||||||
|
* @property {string=} exportsArgument
|
||||||
|
* @property {boolean=} strict
|
||||||
|
* @property {string=} moduleConcatenationBailout
|
||||||
* @property {LazySet<string>=} fileDependencies
|
* @property {LazySet<string>=} fileDependencies
|
||||||
* @property {LazySet<string>=} contextDependencies
|
* @property {LazySet<string>=} contextDependencies
|
||||||
* @property {LazySet<string>=} missingDependencies
|
* @property {LazySet<string>=} missingDependencies
|
||||||
|
|
|
@ -7482,6 +7482,10 @@ declare interface KnownAssetInfo {
|
||||||
declare interface KnownBuildInfo {
|
declare interface KnownBuildInfo {
|
||||||
cacheable?: boolean;
|
cacheable?: boolean;
|
||||||
parsed?: boolean;
|
parsed?: boolean;
|
||||||
|
moduleArgument?: string;
|
||||||
|
exportsArgument?: string;
|
||||||
|
strict?: boolean;
|
||||||
|
moduleConcatenationBailout?: string;
|
||||||
fileDependencies?: LazySet<string>;
|
fileDependencies?: LazySet<string>;
|
||||||
contextDependencies?: LazySet<string>;
|
contextDependencies?: LazySet<string>;
|
||||||
missingDependencies?: LazySet<string>;
|
missingDependencies?: LazySet<string>;
|
||||||
|
@ -7493,10 +7497,6 @@ declare interface KnownBuildInfo {
|
||||||
snapshot?: null | Snapshot;
|
snapshot?: null | Snapshot;
|
||||||
}
|
}
|
||||||
declare interface KnownBuildMeta {
|
declare interface KnownBuildMeta {
|
||||||
moduleArgument?: string;
|
|
||||||
exportsArgument?: string;
|
|
||||||
strict?: boolean;
|
|
||||||
moduleConcatenationBailout?: string;
|
|
||||||
exportsType?: "namespace" | "dynamic" | "default" | "flagged";
|
exportsType?: "namespace" | "dynamic" | "default" | "flagged";
|
||||||
defaultObject?: false | "redirect" | "redirect-warn";
|
defaultObject?: false | "redirect" | "redirect-warn";
|
||||||
strictHarmonyModule?: boolean;
|
strictHarmonyModule?: boolean;
|
||||||
|
|
Loading…
Reference in New Issue