writeToFile(filename
, data
, encoding
?): Promise
<void
>
Defined in: packages/cspell-io/dist/index.d.ts:440
Parameters
filename
string
data
string
| Iterable
<string
, any
, any
> | AsyncIterable
<string
, any
, any
>
encoding?
BufferEncoding
Returns
Promise
<void
>