Skip to content

Commit ba239e5

Browse files
committed
changed slice typing from void to string
1 parent cb1303b commit ba239e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ export interface FS {
448448

449449
dirs: Dirs;
450450

451-
slice(src: string, dest: string, start: number, end: number): Promise<void>;
451+
slice(src: string, dest: string, start: number, end: number): Promise<string>;
452452

453453
asset(path: string): string;
454454

0 commit comments

Comments
 (0)