mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
fs - fix leftover todo
This commit is contained in:
@@ -637,10 +637,3 @@ export async function exists(path: string): Promise<boolean> {
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
// TODO@bpasero remove me
|
||||
export function readFile(path: string): Promise<Buffer>;
|
||||
export function readFile(path: string, encoding: string): Promise<string>;
|
||||
export function readFile(path: string, encoding?: string): Promise<Buffer | string> {
|
||||
return fs.promises.readFile(path, encoding);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user