Skip to content

Commit

Permalink
support both string and ArrayBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
cghawthorne authored and appsforartists committed Mar 8, 2018
1 parent 1e7942f commit ab5ff70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MidiConvert.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export interface MIDI {
toJSON(): MIDI,
}

export function parse(raw: string): MIDI;
export function parse(raw: ArrayBuffer|string): MIDI;
export function load(url: string, data?: any, method?: 'GET'|'POST'): Promise<MIDI>;
export function create(): MIDI;
export function fromJSON(json: object): MIDI;
Expand Down

0 comments on commit ab5ff70

Please sign in to comment.