delete
Delete a file from Storage.
Usage
Permanently removes the specified file. Throws an error if the deletion fails.
Example
import { db } from 'refirebase';
await db.storage.delete('images/old-photo.png');Parameters
| Param | Type | Description |
|---|---|---|
filePath* | string | The path to the file in Storage. |
Return value
Returns
Promise<void>A promise that resolves when the file is deleted.