vexflow: fixed type of stem_direction in TabNote

This commit is contained in:
boHoffi
2017-05-11 19:26:04 +02:00
parent 29e0d7f678
commit 642fcee496

View File

@@ -1,6 +1,8 @@
// Type definitions for VexFlow v1.2.83
// Project: http://vexflow.com
// Definitions by: Roman Quiring <https://github.com/rquiring>, Sebastian Haas <https://github.com/sebastianhaas/>
// Definitions by: Roman Quiring <https://github.com/rquiring>
// Sebastian Haas <https://github.com/sebastianhaas/>
// Basti Hoffmann <https://github.com/bohoffi/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
//inconsistent namespace: this is a helper funtion from tables.js and should not pollute the global namespace!
@@ -1174,7 +1176,7 @@ declare namespace Vex {
setStave(stave : Stave) : Note;
getModifierStartXY() : {x : number, y : number};
constructor(tab_struct : {positions : {str : number, fret : number}[], type? : string, dots? : number, duration : string, stem_direction? : boolean}, draw_stem? : boolean);
constructor(tab_struct : {positions : {str : number, fret : number}[], type? : string, dots? : number, duration : string, stem_direction? : number}, draw_stem? : boolean);
getCategory() : string;
setGhost(ghost : boolean) : TabNote;
hasStem() : boolean;