feat: refactoring project

This commit is contained in:
Carlos
2024-11-23 14:56:07 -05:00
parent f0c2a50c18
commit 1c6db5818d
2351 changed files with 39323 additions and 60326 deletions

47
node_modules/path-exists/index.d.ts generated vendored
View File

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