New typescript (#2597)
* Upgrading TypeScript for new monaco * Bump pxt * Bumping pxt again * Bumping PXT again
This commit is contained in:
17
package.json
17
package.json
@ -32,20 +32,19 @@
|
|||||||
"docs/static/icons/favicon.ico"
|
"docs/static/icons/favicon.ico"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"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/bluebird": "2.0.33",
|
||||||
"@types/jquery": "3.2.16",
|
|
||||||
"@types/marked": "0.3.0",
|
"@types/marked": "0.3.0",
|
||||||
"@types/node": "8.0.53",
|
"@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": {
|
"dependencies": {
|
||||||
"pxt-common-packages": "6.18.4",
|
"pxt-common-packages": "6.18.4",
|
||||||
"pxt-core": "5.32.23"
|
"pxt-core": "5.33.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"newLine": "LF",
|
"newLine": "LF",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"lib": ["dom", "dom.iterable", "scripthost", "es6"],
|
"lib": ["dom", "dom.iterable", "scripthost", "es6"],
|
||||||
"types": ["jquery", "bluebird"],
|
"types": ["bluebird"],
|
||||||
"typeRoots": ["../node_modules/@types"]
|
"typeRoots": ["../node_modules/@types"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ namespace pxsim.visuals {
|
|||||||
this.canvas.appendChild(pixel.el);
|
this.canvas.appendChild(pixel.el);
|
||||||
}
|
}
|
||||||
let color = colors[i];
|
let color = colors[i];
|
||||||
pixel.setRgb(color);
|
pixel.setRgb([color[0], color[1], color[2]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//show the canvas if it's hidden
|
//show the canvas if it's hidden
|
||||||
|
Reference in New Issue
Block a user