Files
DefinitelyTyped/types/trash/index.d.ts
2018-03-15 12:22:02 +09:00

14 lines
446 B
TypeScript

// Type definitions for trash 4.3
// Project: https://github.com/sindresorhus/trash#readme
// Definitions by: Matthew James <https://github.com/matthew-matvei>
// Keiichiro Amemiya <https://github.com/hoishin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface TrashOptions {
glob: boolean;
}
declare function trash(iterable: Iterable<string>, opts?: TrashOptions): Promise<void>;
export = trash;