mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-25 07:44:32 +00:00
14 lines
446 B
TypeScript
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;
|