Skip to content

Commit

Permalink
expose StatsAsset type
Browse files Browse the repository at this point in the history
Fixes #13014
  • Loading branch information
43081j committed Mar 29, 2021
1 parent 15110ea commit 64fc30f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const memoize = require("./util/memoize");
/** @typedef {import("./MultiStats")} MultiStats */
/** @typedef {import("./Parser").ParserState} ParserState */
/** @typedef {import("./Watching")} Watching */
/** @typedef {import("./stats/DefaultStatsFactoryPlugin").StatsAsset} StatsAsset */
/** @typedef {import("./stats/DefaultStatsFactoryPlugin").StatsCompilation} StatsCompilation */

/**
Expand Down
13 changes: 2 additions & 11 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3236,17 +3236,7 @@ declare abstract class ExportInfo {
| "maybe provided (runtime-defined)"
| "provided"
| "not provided";
getRenameInfo():
| string
| "missing provision and use info prevents renaming"
| "usage prevents renaming (no provision info)"
| "missing provision info prevents renaming"
| "missing usage info prevents renaming"
| "usage prevents renaming"
| "could be renamed"
| "provision prevents renaming (no use info)"
| "usage and provision prevents renaming"
| "provision prevents renaming";
getRenameInfo(): string;
}
declare interface ExportSpec {
/**
Expand Down Expand Up @@ -11681,6 +11671,7 @@ declare namespace exports {
MultiStats,
ParserState,
Watching,
StatsAsset,
StatsCompilation
};
}
Expand Down

0 comments on commit 64fc30f

Please sign in to comment.