mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
Add sync method to filehandle method
This commit is contained in:
parent
43ac6b9573
commit
fb22e5ced2
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ export class FileHandle extends EventEmitter {
|
|||
stat(options: { bigint: true }): Promise<BigIntStats>;
|
||||
stat(options?: { bigint: boolean }): Promise<Stats | BigIntStats> {
|
||||
return fsCall(promises.fstat, this, options);
|
||||
};
|
||||
}
|
||||
// readLines(options?):Promise<InterfaceConstructor>
|
||||
sync():Promise<void>{
|
||||
return Promise.resolve(promises.sync());
|
||||
|
|
Loading…
Add table
Reference in a new issue