12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- "use strict";
- class Upload {
- constructor() {
-
- this.promise = new Promise((resolve, reject) => {
-
- this.resolve = (file) => {
-
- this.file = file;
- resolve(file);
- };
-
- this.reject = reject;
- });
-
-
- this.promise.catch(() => {});
- }
- }
- module.exports = Upload;
|