context.fs.writeFile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank 2022-02-22 14:03:10 +01:00
parent de02d51100
commit 39da9c02fc
Signed by: apairon
GPG Key ID: A0E05A8199CE3F57

8
index.d.ts vendored
View File

@ -193,6 +193,14 @@ interface FsPackage {
bytes: boolean // if true return []byte instead of string
}): string | any
/**
* write data to a file relative to config dir
*
* @param path relative file path
* @param data string or []byte data
*/
writeFile(path: string, data: string|any): null
/**
* stat file or directory
*