@types/debug

  • Version 4.1.5
  • Published
  • 4.79 kB
  • No dependencies
  • MIT license

Install

npm i @types/debug
yarn add @types/debug
pnpm add @types/debug

Overview

TypeScript definitions for debug

Index

Variables

variable debug

var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug };

    Interfaces

    interface Debug

    interface Debug {}

      property coerce

      coerce: (val: any) => any;

        property disable

        disable: () => string;

          property enable

          enable: (namespaces: string) => void;

            property enabled

            enabled: (namespaces: string) => boolean;

              property formatters

              formatters: Formatters;

                property log

                log: (...args: any[]) => any;

                  property names

                  names: RegExp[];

                    property skips

                    skips: RegExp[];

                      call signature

                      (namespace: string): Debugger;

                        interface Debugger

                        interface Debugger {}

                          property color

                          color: string;

                            property destroy

                            destroy: () => boolean;

                              property enabled

                              enabled: boolean;

                                property extend

                                extend: (namespace: string, delimiter?: string) => Debugger;

                                  property log

                                  log: (...args: any[]) => any;

                                    property namespace

                                    namespace: string;

                                      call signature

                                      (formatter: any, ...args: any[]): void;

                                        interface Formatters

                                        interface Formatters {}

                                          index signature

                                          [formatter: string]: (v: any) => string;

                                            Type Aliases

                                            type IDebug

                                            type IDebug = Debug;

                                              type IDebugger

                                              type IDebugger = Debugger;

                                                Package Files (1)

                                                Dependencies (0)

                                                No dependencies.

                                                Dev Dependencies (0)

                                                No dev dependencies.

                                                Peer Dependencies (0)

                                                No peer dependencies.

                                                Badge

                                                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/debug.

                                                • Markdown
                                                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/debug)
                                                • HTML
                                                  <a href="https://www.jsdocs.io/package/@types/debug"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>