mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
pass npm run all in new definition-tester
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/// <reference path="webmidi.d.ts" />
|
||||
/// <reference path="../es6-promise/es6-promise.d.ts" />
|
||||
|
||||
if (navigator.requestMIDIAccess !== undefined) {
|
||||
navigator.requestMIDIAccess().then(onSuccessCallback, onErrorCallback);
|
||||
|
||||
Vendored
-3
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Toshiya Nakakura <https://github.com/nakakura>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../es6-promise/es6-promise.d.ts" />
|
||||
|
||||
interface Navigator {
|
||||
/**
|
||||
* When invoked, returns a Promise object representing a request for access to MIDI devices on the user's system.
|
||||
@@ -128,4 +126,3 @@ declare module WebMidi{
|
||||
port: MIDIPort;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user