(file: { name: string; type: string })
| 49 | } |
| 50 | |
| 51 | export function isWebp(file: { name: string; type: string }) { |
| 52 | return accept(file, 'image/webp'); |
| 53 | } |
| 54 | |
| 55 | export function isImage(file: { name: string; type: string }) { |
| 56 | return accept(file, 'image/*'); |
no outgoing calls
no test coverage detected