@types/touch

  • Version 3.1.5
  • Published
  • 4.79 kB
  • 1 dependency
  • MIT license

Install

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

Overview

TypeScript definitions for touch

Index

Functions

function ftouch

ftouch: {
<T = void>(fd: number, cb?: (err?: NodeJS.ErrnoException) => T): Promise<T>;
<T = void>(
fd: number,
options?: Options,
cb?: (err?: NodeJS.ErrnoException) => T
): Promise<T>;
};

    function ftouchSync

    ftouchSync: (fd: number, options?: Options) => void;

      function sync

      sync: (filename: string, options?: Options) => void;

        function touch

        touch: typeof touch;

          Interfaces

          interface Options

          interface Options {}

            property atime

            atime?: boolean | Date | undefined;

              property closeAfter

              closeAfter?: boolean | undefined;

                property force

                force?: boolean | undefined;

                  property mtime

                  mtime?: boolean | Date | undefined;

                    property nocreate

                    nocreate?: boolean | undefined;

                      property ref

                      ref?: string | undefined;

                        property time

                        time?: Date | string | number | undefined;

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

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