2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +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:
Dmitriy Mozgovoy
2023-02-13 20:03:14 +02:00
committed by GitHub
parent c19f7bf770
commit a6dfa72010
+1 -1
View File
@@ -1,3 +1,3 @@
'use strict';
export default FormData;
export default typeof FormData !== 'undefined' ? FormData : null;