mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Document type signature of FileInputView::readFile
This commit is contained in:
@@ -257,6 +257,7 @@
|
||||
}).then(this.readFile);
|
||||
},
|
||||
|
||||
// File -> Promise Attachment
|
||||
readFile: function(file) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
var FR = new FileReader();
|
||||
|
||||
Reference in New Issue
Block a user