Skip to content

Commit 770cb88

Browse files
authored
Merge pull request #519 from marle3003/develop
Develop
2 parents 26ca35e + ccbbc51 commit 770cb88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

npm/types/global.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ declare global {
1616
* });
1717
* }
1818
*/
19-
function open(filePath: string, args?: Args): string;
19+
function open(filePath: string, args?: Args): any;
2020

2121
interface Args {
2222
/**
23-
* By default contents of the file are read as string, but with binary the file will be read as binary.
23+
* By default, contents of the file are read as string, but with binary the file will be read as binary.
2424
*/
25-
as: "binary" | "string";
25+
as: "binary" | "string" | "resolved";
2626
}
2727
}

0 commit comments

Comments
 (0)