Interface PrettyPrinter

Hierarchy

Index

Construct signatures

Methods

Construct signatures

constructor(): any

Returns

any

Methods

public append(value: any)

Parameters

  • value: any

public emitArray(array: Array<any>)

Parameters

  • array: Array<any>

public emitObject(obj: any)

Parameters

  • obj: any

public emitScalar(value: any)

Parameters

  • value: any

public emitString(value: string)

Parameters

  • value: string

public format(value: any)

Parameters

  • value: any

public iterateObject(obj: any, fn: (property: string, isGetter: boolean) => void)

Parameters

  • obj: any
  • fn: (property: string, isGetter: boolean) => void