- readlink(path, options): Promise<Buffer>
Parameters
- path: PathLike
- options: BufferEncodingOption
Returns Promise<Buffer>
- readlink(path, options?): Promise<string>
Parameters
- path: PathLike
Optional
options: EncodingOption
Returns Promise<string>
- readlink(path, options?): Promise<string | Buffer>
Parameters
- path: PathLike
Optional
options:
| null
| string
| ObjectEncodingOptions
| {
encoding: "buffer";
}
Returns Promise<string | Buffer>