(text: string = '', fileOptions?: FileOptions)
| 35 | export { CreateFileError, LaunchEditorError, ReadFileError, RemoveFileError }; |
| 36 | |
| 37 | export function edit(text: string = '', fileOptions?: FileOptions): string { |
| 38 | return new ExternalEditor(text, fileOptions).run(); |
| 39 | } |
| 40 | |
| 41 | type EditAsync = { |
| 42 | /** @deprecated Use editAsync(text, options) returning a Promise instead */ |