From 642fcee49610d499a96fe3383cbe170b57e2fc2c Mon Sep 17 00:00:00 2001 From: boHoffi Date: Thu, 11 May 2017 19:26:04 +0200 Subject: [PATCH] vexflow: fixed type of stem_direction in TabNote --- types/vexflow/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/vexflow/index.d.ts b/types/vexflow/index.d.ts index 2975951738..3c3aa2365a 100644 --- a/types/vexflow/index.d.ts +++ b/types/vexflow/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for VexFlow v1.2.83 // Project: http://vexflow.com -// Definitions by: Roman Quiring , Sebastian Haas +// Definitions by: Roman Quiring +// Sebastian Haas +// Basti Hoffmann // 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;