We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ec98c commit a7710bdCopy full SHA for a7710bd
packages/file/src/file.js
@@ -12,7 +12,7 @@ export class File extends Blob {
12
constructor(
13
init,
14
name = panic(new TypeError("File constructor requires name argument")),
15
- options = {},
+ options = {}
16
) {
17
super(init, options)
18
// Per File API spec https://w3c.github.io/FileAPI/#file-constructor
@@ -59,6 +59,6 @@ export class File extends Blob {
59
* @param {*} error
60
* @returns {never}
61
*/
62
-const panic = (error) => {
+const panic = error => {
63
throw error
64
}
0 commit comments