Browse Source

style: changes due to tslint upgrade (`5.7.0` -> `5.8.0`)

Sebastian Haas 7 years ago
parent
commit
54f5d03cfd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      src/MusicalScore/Graphical/VexFlow/VexFlowMusicSheetDrawer.ts

+ 1 - 1
package.json

@@ -9,7 +9,7 @@
     "lint": "npm run jshint && npm run tslint",
     "jshint": "jshint . --exclude node_modules,dist,build,bin,demo",
     "test": "npm run lint && grunt test",
-    "tslint": "tslint --type-check --project tsconfig.json \"src/**/*.ts\" \"test/**/*.ts\"",
+    "tslint": "tslint --project tsconfig.json \"src/**/*.ts\" \"test/**/*.ts\"",
     "typedoc": "typedoc --out ./build/docs --name OpenSheetMusicDisplay --module commonjs --target ES5 --mode file ./src/**/*.ts",
     "postinstall": "rimraf typings",
     "prepublish": "grunt build:dist",

+ 1 - 1
src/MusicalScore/Graphical/VexFlow/VexFlowMusicSheetDrawer.ts

@@ -74,7 +74,7 @@ export class VexFlowMusicSheetDrawer extends MusicSheetDrawer {
         measure.draw(this.backend.getContext());
 
         // Draw the StaffEntries
-        for (let staffEntry of measure.staffEntries){
+        for (let staffEntry of measure.staffEntries) {
             this.drawStaffEntry(staffEntry);
         }
     }