@types/fb-watchman

  • Version 2.0.0
  • Published
  • 3.45 kB
  • 1 dependency
  • MIT license

Install

npm i @types/fb-watchman
yarn add @types/fb-watchman
pnpm add @types/fb-watchman

Overview

TypeScript definitions for fb-watchman

Index

Classes

class Client

class Client extends EventEmitter {}

    constructor

    constructor(options?: ClientOptions);

      method cancelCommands

      cancelCommands: (why: string) => void;

        method capabilityCheck

        capabilityCheck: (caps: Capabilities, done: doneCallback) => void;

          method command

          command: (args: any, done: doneCallback) => void;

            method connect

            connect: () => void;

              method end

              end: () => void;

                method sendNextCommand

                sendNextCommand: () => void;

                  Interfaces

                  interface Capabilities

                  interface Capabilities {}

                    property optional

                    optional: any[];

                      property required

                      required: any[];

                        interface ClientOptions

                        interface ClientOptions {}

                          property watchmanBinaryPath

                          watchmanBinaryPath?: string;
                          • Absolute path to the watchman binary. If not provided, the Client locates the binary using the PATH specified by the node child_process's default env.

                          Type Aliases

                          type doneCallback

                          type doneCallback = (error?: Error | null, resp?: any) => any;

                            type UnilateralTags

                            type UnilateralTags = 'unilateralTags' | 'log';

                              Package Files (1)

                              Dependencies (1)

                              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/fb-watchman.

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