// Type definitions for del v2.2.0 // Project: https://github.com/sindresorhus/del // Definitions by: Asana , Aya Morisawa // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// import glob = require("glob"); declare function Del(pattern: string): Promise; declare function Del(pattern: string, options: Del.Options): Promise; declare function Del(patterns: string[]): Promise; declare function Del(patterns: string[], options: Del.Options): Promise; declare namespace Del { function sync(pattern: string, options?: Options): string[]; function sync(patterns: string[], options?: Options): string[]; interface Options extends glob.IOptions { force?: boolean; dryRun?: boolean; } } export = Del;