Upgrade Ava to v4

This commit is contained in:
Henry Mercer 2022-02-01 18:01:11 +00:00
parent 9a40cc5274
commit ce89f1b611
1153 changed files with 27264 additions and 95308 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;