• Version 2.0.5
  • Published
  • 7.14 kB
  • 1 dependency
  • MIT license


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


TypeScript definitions for sane



variable FSEventsWatcher

const FSEventsWatcher: typeof SaneWatcher;

    variable NodeWatcher

    const NodeWatcher: typeof SaneWatcher;

      variable PollWatcher

      const PollWatcher: typeof SaneWatcher;

        variable WatchmanWatcher

        const WatchmanWatcher: typeof SaneWatcher;


          function sane

          sane: typeof sane;


            interface Options

            interface Options {}

              property dot

              dot?: boolean | undefined;

                property fsevents

                fsevents?: boolean | undefined;

                  property glob

                  glob?: string | string[] | undefined;

                    property ignored

                    ignored?: AnymatchMatcher | AnymatchMatcher[] | undefined;

                      property poll

                      poll?: boolean | undefined;

                        property watcher

                        watcher?: string | undefined;

                          property watchman

                          watchman?: boolean | undefined;

                            Type Aliases

                            type AnymatchMatcher

                            type AnymatchMatcher = string | RegExp | ((...testStrings: string[]) => boolean);

                              type Watcher

                              type Watcher = SaneWatcher;

                                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/sane.

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