mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
fix: invalid types for asynchronous and synchronous File#truncate
(#10353)
This commit is contained in:
parent
801244027d
commit
0d3b22a53a
1 changed files with 2 additions and 2 deletions
4
cli/dts/lib.deno.ns.d.ts
vendored
4
cli/dts/lib.deno.ns.d.ts
vendored
|
@ -781,8 +781,8 @@ declare namespace Deno {
|
|||
constructor(rid: number);
|
||||
write(p: Uint8Array): Promise<number>;
|
||||
writeSync(p: Uint8Array): number;
|
||||
truncate(len?: number): void;
|
||||
truncateSync(len?: number): Promise<void>;
|
||||
truncate(len?: number): Promise<void>;
|
||||
truncateSync(len?: number): void;
|
||||
read(p: Uint8Array): Promise<number | null>;
|
||||
readSync(p: Uint8Array): number | null;
|
||||
seek(offset: number, whence: SeekMode): Promise<number>;
|
||||
|
|
Loading…
Reference in a new issue