Closed nediamond closed 4 years ago
const api = got.extend({responseType: 'json'}); const res = await api.get('https://myapi.com'); res.body # has type string
const api = got.extend({responseType: 'json'}); const res = await api.get('https://myapi.com'); res.body # has type unknown
Duplicate of #1117
Describe the bug
Actual behavior
Expected behavior
Checklist