This commit is contained in:
parent
de02d51100
commit
39da9c02fc
8
index.d.ts
vendored
8
index.d.ts
vendored
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user