From 2db6defc0b555d93d2363ba6c6dfa19df7dc7c11 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 14 Oct 2023 16:27:06 +0800 Subject: update --- node_modules/slash/index.d.ts | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 node_modules/slash/index.d.ts (limited to 'node_modules/slash/index.d.ts') diff --git a/node_modules/slash/index.d.ts b/node_modules/slash/index.d.ts deleted file mode 100644 index 692c7fda..00000000 --- a/node_modules/slash/index.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** -Convert Windows backslash paths to slash paths: `foo\\bar` ➔ `foo/bar`. - -[Forward-slash paths can be used in Windows](http://superuser.com/a/176395/6877) as long as they're not extended-length paths. - -@param path - A Windows backslash path. -@returns A path with forward slashes. - -@example -``` -import path from 'node:path'; -import slash from 'slash'; - -const string = path.join('foo', 'bar'); -// Unix => foo/bar -// Windows => foo\\bar - -slash(string); -// Unix => foo/bar -// Windows => foo/bar -``` -*/ -export default function slash(path: string): string; -- cgit v1.2.3