mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-17 14:22:52 +00:00
up is either a number or a boolean https://github.com/calvinmetcalf/copyfiles/blob/master/index.js#L22
9 lines
281 B
TypeScript
9 lines
281 B
TypeScript
import copyfiles = require('copyfiles');
|
|
|
|
copyfiles(['file'], () => {});
|
|
copyfiles(['file'], error => {});
|
|
copyfiles(['file'], {up: true}, error => {});
|
|
copyfiles(['file'], {up: 1}, error => {});
|
|
copyfiles(['file'], {all: true}, error => {});
|
|
copyfiles(['file'], 10, error => {});
|