Home > @rushstack/node-core-library > FileSystem > deleteFileAsync
FileSystem.deleteFileAsync() method
An async version of FileSystem.deleteFile().
Signature:
static deleteFileAsync(filePath: string, options?: IFileSystemDeleteFileOptions): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
filePath | string | |
options | IFileSystemDeleteFileOptions | (Optional) |
Returns:
Promise<void>