Browse Source

Fix typo in type

Brent Vatne 8 years ago
parent
commit
278b858197
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      index.js

+ 1
- 1
index.js View File

11
     height ?: number;
11
     height ?: number;
12
     format ?: "png" | "jpg" | "jpeg" | "webm";
12
     format ?: "png" | "jpg" | "jpeg" | "webm";
13
     quality ?: number;
13
     quality ?: number;
14
-    result: ?: "file" | "base64" | "data-uri";
14
+    result ?: "file" | "base64" | "data-uri";
15
   }
15
   }
16
 ): Promise<string> {
16
 ): Promise<string> {
17
   if (typeof view !== "number") {
17
   if (typeof view !== "number") {