interface EmitWarningOptions
optional
type: string | undefinedWhen warning is a string, type is the name to use for the type of warning being emitted.
optional
code: string | undefinedA unique identifier for the warning instance being emitted.
optional
ctor: Function | undefinedWhen warning is a string, ctor is an optional function used to limit the generated stack trace.
optional
detail: string | undefinedAdditional text to include with the error.