Skip to content

Commit

Permalink
Update to build VS Code using latest TS nightly (microsoft#146933)
Browse files Browse the repository at this point in the history
* Fixing line height if drop into prompt wraps

* Use keybinding style for `shift` in overlay

* Update to build VS Code using latest TS nightly

* Fix compile error

* Bump TS

* Add constraint
  • Loading branch information
mjbvz authored Apr 14, 2022
1 parent ab17465 commit cc74238
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/lib/nls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function collect(ts: typeof import('typescript'), node: ts.Node, fn: (node: ts.N
return result;
}

function clone<T>(object: T): T {
function clone<T extends object>(object: T): T {
const result = <T>{};
for (const id in object) {
result[id] = object[id];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"style-loader": "^1.0.0",
"ts-loader": "^9.2.7",
"tsec": "0.1.4",
"typescript": "4.7.0-dev.20220323",
"typescript": "^4.7.0-dev.20220408",
"typescript-formatter": "7.1.0",
"underscore": "^1.12.1",
"util": "^0.12.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ suite('MinimapCharRenderer', () => {

function createFakeImageData(width: number, height: number): ImageData {
return {
colorSpace: 'srgb',
width: width,
height: height,
data: new Uint8ClampedArray(width * height * Constants.RGBA_CHANNELS_CNT)
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11399,16 +11399,16 @@ [email protected]:
commandpost "^1.0.0"
editorconfig "^0.15.0"

[email protected]:
version "4.7.0-dev.20220323"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.0-dev.20220323.tgz#eb9dd18f77a7fd58bbd53ce8d7dc86bdcda87e40"
integrity sha512-fJQwwIgPcAJV9qn45kgIaiiklW6eY+SuTVAM2WgNAJS7pGN6mfuUB7sk0G+HGTsWWI/gMlGVgNdPY3jK4M7Hfg==

typescript@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4"
integrity sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=

typescript@^4.7.0-dev.20220408:
version "4.7.0-dev.20220408"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.0-dev.20220408.tgz#52a049ad6c3c78856935692c3fc69aec8a40ec6d"
integrity sha512-2KgXRQXrjFEbm+ismaGoR803nTRQuc03XQ1crnlxXvQYIXasPiidwiczLc9i0rTo33KXIN2M6YiNtn1tZihHgw==

typical@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/typical/-/typical-4.0.0.tgz#cbeaff3b9d7ae1e2bbfaf5a4e6f11eccfde94fc4"
Expand Down

0 comments on commit cc74238

Please sign in to comment.