mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
fix(formdata): added a check to make sure the FormData class is available in the browser's global scope; (#5545)
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
export default FormData;
|
export default typeof FormData !== 'undefined' ? FormData : null;
|
||||||
|
|||||||
Reference in New Issue
Block a user