diff --git a/index.d.ts b/index.d.ts index f6366c3..2ef233d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -40,8 +40,6 @@ declare const del: { /** Delete files and directories using glob patterns. - Note that glob patterns can only contain forward-slashes, not backward-slashes, so if you want to construct a glob pattern from path components, you need to use `path.posix.join()` instead of `path.join()`. - @param patterns - See the supported [glob patterns](https://github.com/sindresorhus/globby#globbing-patterns). - [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/master/test/test.js) - [Quick globbing pattern overview](https://github.com/sindresorhus/multimatch#globbing-patterns) @@ -67,8 +65,6 @@ declare const del: { /** Synchronously delete files and directories using glob patterns. - Note that glob patterns can only contain forward-slashes, not backward-slashes, so if you want to construct a glob pattern from path components, you need to use `path.posix.join()` instead of `path.join()`. - @param patterns - See the supported [glob patterns](https://github.com/sindresorhus/globby#globbing-patterns). - [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/master/test/test.js) - [Quick globbing pattern overview](https://github.com/sindresorhus/multimatch#globbing-patterns) diff --git a/readme.md b/readme.md index 79d5280..59f83a1 100644 --- a/readme.md +++ b/readme.md @@ -46,8 +46,6 @@ Suggestions on how to improve this welcome! ## API -Note that glob patterns can only contain forward-slashes, not backward-slashes, so if you want to construct a glob pattern from path components, you need to use `path.posix.join()` instead of `path.join()`. - ### del(patterns, options?) Returns `Promise` with the deleted paths.