New typescript (#2597)

* Upgrading TypeScript for new monaco

* Bump pxt

* Bumping pxt again

* Bumping PXT again
This commit is contained in:
Richard Knoll
2020-02-04 16:44:46 -08:00
committed by GitHub
parent 8278292e06
commit 0995238b21
3 changed files with 10 additions and 11 deletions

View File

@ -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"
}
}

View File

@ -9,7 +9,7 @@
"newLine": "LF",
"sourceMap": false,
"lib": ["dom", "dom.iterable", "scripthost", "es6"],
"types": ["jquery", "bluebird"],
"types": ["bluebird"],
"typeRoots": ["../node_modules/@types"]
}
}

View File

@ -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