Documentation
    Preparing search index...

    Interface DiagnosticsOptions

    Options that control developer diagnostics.

    • warnings: If true, devWarn will emit a console warning.
    • strict: If true, devWarn will throw an error instead of warning.
    • perf: If true, mark / measure call through to the platform Performance API when available.

    These options are global and may be updated via configureDiagnostics.

    interface DiagnosticsOptions {
        perf: boolean;
        strict: boolean;
        warnings: boolean;
    }
    Index

    Properties

    Properties

    perf: boolean

    Enable performance instrumentation using performance.mark and performance.measure when supported by the environment.

    strict: boolean

    Enable strict mode: developer warnings will throw instead of logging. Useful in CI to surface misuse early.

    warnings: boolean

    Enable non-fatal console warnings in development.