kopia lustrzana https://github.com/badgen/badgen.net
5 wiersze
157 B
TypeScript
5 wiersze
157 B
TypeScript
![]() |
export default (resp: import('got').Response) => {
|
||
|
const contentType = resp.headers['content-type'] || ''
|
||
|
return contentType.includes('image/svg+xml')
|
||
|
}
|