interface EmitWarningOptions
Properties Jump to heading
optional
Jump to headingtype: string | undefined
When warning
is a string
, type
is the name to use for the type of warning being emitted.
optional
Jump to headingcode: string | undefined
A unique identifier for the warning instance being emitted.
optional
Jump to headingctor: Function | undefined
When warning
is a string
, ctor
is an optional function used to limit the generated stack trace.
optional
Jump to headingdetail: string | undefined
Additional text to include with the error.