EmitWarningOptions

external interface EmitWarningOptions(source)

Properties

Link copied to clipboard
abstract external var code: String?

A unique identifier for the warning instance being emitted.

Link copied to clipboard
abstract external var ctor: Function<*>?

When warning is a string, ctor is an optional function used to limit the generated stack trace.

Link copied to clipboard
abstract external var detail: String?

Additional text to include with the error.

Link copied to clipboard
abstract external var type: String?

When warning is a string, type is the name to use for the type of warning being emitted.