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

Installation

npm install --save @types/move-concurrently

Summary

This package contains type definitions for move-concurrently (https://www.npmjs.com/package/move-concurrently).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/move-concurrently.

index.d.ts

// Type definitions for move-concurrently 1.0
// Project: https://www.npmjs.com/package/move-concurrently
// Definitions by: Melvin Groenhoff <https://github.com/mgroenhoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2

/**
 * Recursively moves from to to and resolves its promise when finished. If to already exists then the promise will be rejected with an EEXIST error.
 */
declare function move<T extends PromiseLike<void> = Promise<void>>(from: string, to: string, opts?: move.Options<T>): T;

declare namespace move {
    interface Options<T extends PromiseLike<void> = Promise<void>> {
        /**
         * (Default: 1) The maximum number of concurrent copies to do at once.
         */
        maxConcurrency?: number | undefined;
        /**
         * (Default: process.platform === 'win32') If true enables Windows symlink semantics.
         * This requires an extra stat to determine if the destination of a symlink is a file or directory.
         * If symlinking a directory fails then we'll try making a junction instead.
         */
        isWindows?: boolean | undefined;
        /**
         * (Default: global.Promise) The promise implementation to use, defaults to Node's.
         */
        Promise?: (new (...args: any[]) => T | undefined) | undefined;
        /**
         * (Default: require('fs')) The filesystem module to use. Can be used to use graceful-fs or to inject a mock.
         */
        fs?: any;
        /**
         * (Default: require('fs-write-stream-atomic')) The implementation of writeStreamAtomic to use. Used to inject a mock.
         */
        writeStreamAtomic?: any;
        /**
         * (Default: process.getuid) A function that returns the current UID. Used to inject a mock.
         */
        getuid?: any;
    }
}

export = move;

Additional Details

  • Last updated: Wed, 07 Jul 2021 16:31:27 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Melvin Groenhoff.

Current Tags

  • 1.0.4                                ...           latest (5 years ago)
  • 1.0.0                                ...           ts2.4 (9 years ago)
  • 1.0.0                                ...           ts2.5 (9 years ago)
  • 1.0.0                                ...           ts2.6 (9 years ago)
  • 1.0.0                                ...           ts2.7 (9 years ago)
  • 1.0.1                                ...           ts2.8 (8 years ago)
  • 1.0.1                                ...           ts2.9 (8 years ago)
  • 1.0.1                                ...           ts3.0 (8 years ago)
  • 1.0.1                                ...           ts3.1 (8 years ago)
  • 1.0.2                                ...           ts3.2 (7 years ago)
  • 1.0.2                                ...           ts3.3 (7 years ago)
  • 1.0.2                                ...           ts3.4 (7 years ago)
  • 1.0.2                                ...           ts3.5 (7 years ago)
  • 1.0.4                                ...           ts3.6 (5 years ago)
  • 1.0.4                                ...           ts3.7 (5 years ago)
  • 1.0.4                                ...           ts3.8 (5 years ago)
  • 1.0.4                                ...           ts3.9 (5 years ago)
  • 1.0.4                                ...           ts4.0 (5 years ago)
  • 1.0.4                                ...           ts4.1 (5 years ago)
  • 1.0.4                                ...           ts4.2 (5 years ago)
  • 1.0.4                                ...           ts4.3 (5 years ago)
  • 1.0.4                                ...           ts4.4 (5 years ago)
  • 1.0.4                                ...           ts4.5 (5 years ago)
  • 1.0.4                                ...           ts4.6 (5 years ago)
  • 1.0.4                                ...           ts4.7 (5 years ago)
  • 1.0.4                                ...           ts4.8 (5 years ago)
  • 1.0.4                                ...           ts4.9 (5 years ago)

5 Versions

  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           9 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 |