Skip to content

Commit ff240c4

Browse files
committed
Templatize the return type of requestMIDIAccess()
From external contributor RetroModular. Fixes issue #119 ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=66246030
1 parent d498e43 commit ff240c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/externs/w3c_midi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
/**
2626
* @param {!MIDIOptions=} opt_options
27-
* @return {!Promise}
27+
* @return {!Promise.<!MIDIAccess>}
2828
*/
2929
navigator.requestMIDIAccess = function(opt_options) {};
3030

0 commit comments

Comments
 (0)