diff --git a/package.json b/package.json index 2adf05cb..50c4f6d5 100644 --- a/package.json +++ b/package.json @@ -32,20 +32,19 @@ "docs/static/icons/favicon.ico" ], "devDependencies": { - "typescript": "2.6.1", - "less": "2.7.3", - "semantic-ui-less": "2.2.14", - "react": "16.8.3", - "@types/react": "16.0.25", - "@types/react-dom": "16.0.3", "@types/bluebird": "2.0.33", - "@types/jquery": "3.2.16", "@types/marked": "0.3.0", "@types/node": "8.0.53", - "@types/web-bluetooth": "0.0.4" + "@types/react": "16.0.25", + "@types/react-dom": "16.0.3", + "@types/web-bluetooth": "0.0.4", + "less": "2.7.3", + "react": "16.8.3", + "semantic-ui-less": "2.2.14", + "typescript": "^3.7.5" }, "dependencies": { "pxt-common-packages": "6.18.4", - "pxt-core": "5.32.23" + "pxt-core": "5.33.4" } } diff --git a/sim/tsconfig.json b/sim/tsconfig.json index 98cd3cb1..d043b21a 100644 --- a/sim/tsconfig.json +++ b/sim/tsconfig.json @@ -9,7 +9,7 @@ "newLine": "LF", "sourceMap": false, "lib": ["dom", "dom.iterable", "scripthost", "es6"], - "types": ["jquery", "bluebird"], + "types": ["bluebird"], "typeRoots": ["../node_modules/@types"] } } diff --git a/sim/visuals/neopixel.ts b/sim/visuals/neopixel.ts index 6e3ff3a2..68b2916d 100644 --- a/sim/visuals/neopixel.ts +++ b/sim/visuals/neopixel.ts @@ -128,7 +128,7 @@ namespace pxsim.visuals { this.canvas.appendChild(pixel.el); } let color = colors[i]; - pixel.setRgb(color); + pixel.setRgb([color[0], color[1], color[2]]); } //show the canvas if it's hidden