• Version 2.0.4
  • Published
  • 4.49 kB
  • 1 dependency
  • MIT license


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


TypeScript definitions for fb-watchman



class Client

class Client extends EventEmitter {}


    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;


                  interface Capabilities

                  interface Capabilities {}

                    property optional

                    optional: any[];

                      property required

                      required: any[];

                        interface ClientOptions

                        interface ClientOptions {}

                          property watchmanBinaryPath

                          watchmanBinaryPath?: string | undefined;
                          • 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.


                              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
                              • 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>