(file: { name: string; type: string })
| 57 | } |
| 58 | |
| 59 | export function isSvg(file: { name: string; type: string }) { |
| 60 | return accept(file, 'image/svg+xml'); |
| 61 | } |
| 62 | |
| 63 | function getFileMethod(option: IImageSrcOption) { |
| 64 | if (!option.method) return '/0'; |
no outgoing calls
no test coverage detected