This commit is contained in:
2024-03-22 03:47:51 +05:30
parent 8bcf3d211e
commit 89819f6fe2
28440 changed files with 3211033 additions and 2 deletions

31
node_modules/path-exists/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,31 @@
/**
Check if a path exists.
@returns Whether the path exists.
@example
```
// foo.ts
import {pathExists} from 'path-exists';
console.log(await pathExists('foo.ts'));
//=> true
```
*/
export function pathExists(path: string): Promise<boolean>;
/**
Synchronously check if a path exists.
@returns Whether the path exists.
@example
```
// foo.ts
import {pathExistsSync} from 'path-exists';
console.log(pathExistsSync('foo.ts'));
//=> true
```
*/
export function pathExistsSync(path: string): boolean;