Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EmitWarningOptions

Index

Properties

Properties

Optional code

code: string

A unique identifier for the warning instance being emitted.

Optional ctor

ctor: Function

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

default

process.emitWarning

Optional detail

detail: string

Additional text to include with the error.

Optional type

type: string

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

default

'Warning'