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