Skip to content

Commit 4e96cef

Browse files
committed
Revert "Use TS 4.1-nightly for building VS Code"
This reverts commit 50a1093. This seems to be causing with extension require statements
1 parent 50a1093 commit 4e96cef

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"minimist": "^1.2.3",
4646
"request": "^2.85.0",
4747
"terser": "4.3.8",
48-
"typescript": "^4.1.0-dev.20200824",
48+
"typescript": "^4.0.1-rc",
4949
"vsce": "1.48.0",
5050
"vscode-telemetry-extractor": "^1.6.0",
5151
"xml2js": "^0.4.17"

build/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2535,10 +2535,10 @@ typescript@^3.0.1:
25352535
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
25362536
integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==
25372537

2538-
typescript@^4.1.0-dev.20200824:
2539-
version "4.1.0-dev.20200824"
2540-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.0-dev.20200824.tgz#34c92d9b6e5124600658c0d4e9b8c125beaf577d"
2541-
integrity sha512-hTJfocmebnMKoqRw/xs3bL61z87XXtvOUwYtM7zaCX9mAvnfdo1x1bzQlLZAsvdzRIgAHPJQYbqYHKygWkDw6g==
2538+
typescript@^4.0.1-rc:
2539+
version "4.0.1-rc"
2540+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.1-rc.tgz#8adc78223eae56fe71d906a5fa90c3543b07a677"
2541+
integrity sha512-TCkspT3dSKOykbzS3/WSK7pqU2h1d/lEO6i45Afm5Y3XNAEAo8YXTG3kHOQk/wFq/5uPyO1+X8rb/Q+g7UsxJw==
25422542

25432543
typical@^4.0.0:
25442544
version "4.0.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
"source-map": "^0.4.4",
165165
"style-loader": "^1.0.0",
166166
"ts-loader": "^4.4.2",
167-
"typescript": "^4.1.0-dev.20200824",
167+
"typescript": "^4.0.1-rc",
168168
"typescript-formatter": "7.1.0",
169169
"underscore": "^1.8.2",
170170
"vinyl": "^2.0.0",

src/vs/platform/workspace/common/workspace.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ export interface IWorkspaceFoldersChangeEvent {
8282

8383
export namespace IWorkspace {
8484
export function isIWorkspace(thing: unknown): thing is IWorkspace {
85-
return !!(thing && typeof thing === 'object'
85+
return thing && typeof thing === 'object'
8686
&& typeof (thing as IWorkspace).id === 'string'
87-
&& Array.isArray((thing as IWorkspace).folders));
87+
&& Array.isArray((thing as IWorkspace).folders);
8888
}
8989
}
9090

@@ -127,10 +127,10 @@ export interface IWorkspaceFolderData {
127127

128128
export namespace IWorkspaceFolder {
129129
export function isIWorkspaceFolder(thing: unknown): thing is IWorkspaceFolder {
130-
return !!(thing && typeof thing === 'object'
130+
return thing && typeof thing === 'object'
131131
&& URI.isUri((thing as IWorkspaceFolder).uri)
132132
&& typeof (thing as IWorkspaceFolder).name === 'string'
133-
&& typeof (thing as IWorkspaceFolder).toResource === 'function');
133+
&& typeof (thing as IWorkspaceFolder).toResource === 'function';
134134
}
135135
}
136136

src/vs/workbench/common/editor/editorGroup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface ISerializedEditorGroup {
5555
export function isSerializedEditorGroup(obj?: unknown): obj is ISerializedEditorGroup {
5656
const group = obj as ISerializedEditorGroup;
5757

58-
return !!(obj && typeof obj === 'object' && Array.isArray(group.editors) && Array.isArray(group.mru));
58+
return obj && typeof obj === 'object' && Array.isArray(group.editors) && Array.isArray(group.mru);
5959
}
6060

6161
export class EditorGroup extends Disposable {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9369,10 +9369,10 @@ typescript@^2.6.2:
93699369
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4"
93709370
integrity sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=
93719371

9372-
typescript@^4.1.0-dev.20200824:
9373-
version "4.1.0-dev.20200824"
9374-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.0-dev.20200824.tgz#34c92d9b6e5124600658c0d4e9b8c125beaf577d"
9375-
integrity sha512-hTJfocmebnMKoqRw/xs3bL61z87XXtvOUwYtM7zaCX9mAvnfdo1x1bzQlLZAsvdzRIgAHPJQYbqYHKygWkDw6g==
9372+
typescript@^4.0.1-rc:
9373+
version "4.0.1-rc"
9374+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.1-rc.tgz#8adc78223eae56fe71d906a5fa90c3543b07a677"
9375+
integrity sha512-TCkspT3dSKOykbzS3/WSK7pqU2h1d/lEO6i45Afm5Y3XNAEAo8YXTG3kHOQk/wFq/5uPyO1+X8rb/Q+g7UsxJw==
93769376

93779377
uc.micro@^1.0.1, uc.micro@^1.0.3:
93789378
version "1.0.3"

0 commit comments

Comments
 (0)