We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26ca35e + ccbbc51 commit 770cb88Copy full SHA for 770cb88
npm/types/global.d.ts
@@ -16,12 +16,12 @@ declare global {
16
* });
17
* }
18
*/
19
- function open(filePath: string, args?: Args): string;
+ function open(filePath: string, args?: Args): any;
20
21
interface Args {
22
/**
23
- * By default contents of the file are read as string, but with binary the file will be read as binary.
+ * By default, contents of the file are read as string, but with binary the file will be read as binary.
24
25
- as: "binary" | "string";
+ as: "binary" | "string" | "resolved";
26
}
27
0 commit comments