@types/fb-watchman
TypeScript definitions for fb-watchman
Last updated 5 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/fb-watchman 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/fb-watchman

Summary

This package contains type definitions for fb-watchman (https://facebook.github.io/watchman/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fb-watchman.

index.d.ts

// Type definitions for fb-watchman 2.0
// Project: https://facebook.github.io/watchman/
// Definitions by: Wu Haotian <https://github.com/whtsky>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { EventEmitter } from 'events';

// Emit the responses to these when they get sent down to us
export type UnilateralTags = 'unilateralTags' | 'log';

export interface ClientOptions {
  /**
   * 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.
   */
  watchmanBinaryPath?: string | undefined;
}

export interface Capabilities {
  optional: any[];
  required: any[];
}

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

export class Client extends EventEmitter {
  constructor(options?: ClientOptions)
  sendNextCommand(): void;
  cancelCommands(why: string): void;
  connect(): void;
  command(args: any, done: doneCallback): void;
  capabilityCheck(
    caps: Capabilities,
    done: doneCallback,
  ): void;
  end(): void;
}

Additional Details

  • Last updated: Tue, 06 Jul 2021 20:32:53 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Wu Haotian.

Current Tags

  • 2.0.1                                ...           latest (5 years ago)
  • 2.0.0                                ...           ts2.0 (8 years ago)
  • 2.0.0                                ...           ts2.1 (8 years ago)
  • 2.0.0                                ...           ts2.2 (8 years ago)
  • 2.0.0                                ...           ts2.3 (8 years ago)
  • 2.0.0                                ...           ts2.4 (8 years ago)
  • 2.0.0                                ...           ts2.5 (8 years ago)
  • 2.0.0                                ...           ts2.6 (8 years ago)
  • 2.0.0                                ...           ts2.7 (8 years ago)
  • 2.0.0                                ...           ts2.8 (8 years ago)
  • 2.0.0                                ...           ts2.9 (8 years ago)
  • 2.0.0                                ...           ts3.0 (8 years ago)
  • 2.0.0                                ...           ts3.1 (8 years ago)
  • 2.0.0                                ...           ts3.2 (8 years ago)
  • 2.0.0                                ...           ts3.3 (8 years ago)
  • 2.0.0                                ...           ts3.4 (8 years ago)
  • 2.0.0                                ...           ts3.5 (8 years ago)
  • 2.0.1                                ...           ts3.6 (5 years ago)
  • 2.0.1                                ...           ts3.7 (5 years ago)
  • 2.0.1                                ...           ts3.8 (5 years ago)
  • 2.0.1                                ...           ts3.9 (5 years ago)
  • 2.0.1                                ...           ts4.0 (5 years ago)
  • 2.0.1                                ...           ts4.1 (5 years ago)
  • 2.0.1                                ...           ts4.2 (5 years ago)
  • 2.0.1                                ...           ts4.3 (5 years ago)
  • 2.0.1                                ...           ts4.4 (5 years ago)
  • 2.0.1                                ...           ts4.5 (5 years ago)
  • 2.0.1                                ...           ts4.6 (5 years ago)
  • 2.0.1                                ...           ts4.7 (5 years ago)
  • 2.0.1                                ...           ts4.8 (5 years ago)
  • 2.0.1                                ...           ts4.9 (5 years ago)
  • 2.0.1                                ...           ts5.0 (5 years ago)
  • 2.0.1                                ...           ts5.1 (5 years ago)

2 Versions

  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |