INSPECT_DEFAULTS: {
    reporter: ((value: unknown) => void);
    runInProdMode: boolean;
    skipInitial: boolean;
} = ...

Given that inspect should have no side-effects and does nothing in production mode, this is provided as a simple way to set the default behavior without having to get into dependency injection. You can modify this from wherever you want.

Type declaration

  • reporter: ((value: unknown) => void)

    This is the default reporter for inspect.

      • (value): void
      • Parameters

        • value: unknown

        Returns void

  • runInProdMode: boolean

    If true, this will run even if in prod mode is enabled.

  • skipInitial: boolean

    If true, the initial value will not be reported.