We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2e7d2d commit 25563c6Copy full SHA for 25563c6
1 file changed
src/attachment.ts
@@ -40,7 +40,9 @@ export default class Attachment {
40
}
41
42
isImage(): boolean {
43
- return ['image/gif', 'image/png', 'image/jpg', 'image/jpeg', 'image/svg+xml', 'image/webp'].indexOf(this.file.type) > -1
+ return (
44
+ ['image/gif', 'image/png', 'image/jpg', 'image/jpeg', 'image/svg+xml', 'image/webp'].indexOf(this.file.type) > -1
45
+ )
46
47
48
isVideo(): boolean {
0 commit comments