* **Supplemental**: Asynchronously writes data to a file, replacing the file * if it already exists. * * The encoding option is ignored if data is a buffer.
(fname: string, data: any, encoding: string | null, flag: FileFlag, mode: number, cb: BFSOneArgCallback)
| 242 | * The encoding option is ignored if data is a buffer. |
| 243 | */ |
| 244 | writeFile(fname: string, data: any, encoding: string | null, flag: FileFlag, mode: number, cb: BFSOneArgCallback): void; |
| 245 | /** |
| 246 | * **Supplemental**: Synchronously writes data to a file, replacing the file |
| 247 | * if it already exists. |
no outgoing calls
no test coverage detected