new Stats(compilation): StatsAttributes
compilation:
<Compilation>Returns:
<Stats>Creates an instance of Stats.
Attributes
hasErrors(): booleanReturns:
<boolean>Checks whether this stats has errors.
hasWarnings(): booleanReturns:
<boolean>Checks whether this stats has warnings.
toJson(options?): StatsCompilationAttributes
options:
<boolean>
|
<"none">
|
<"verbose">
|
<"summary">
|
<"errors-only">
|
<"errors-warnings">
|
<"minimal">
|
<"normal">
|
<"detailed">
|
<StatsOptions>Returns:
<StatsCompilation>Returns json output.
toString(options?): stringAttributes
options:
<boolean>
|
<"none">
|
<"verbose">
|
<"summary">
|
<"errors-only">
|
<"errors-warnings">
|
<"minimal">
|
<"normal">
|
<"detailed">
|
<StatsOptions>Returns:
<string>Returns a string representation.