) => {
- const newChecked = e.target.checked;
- props.preferenceService.updateValue('welcome.alwaysShowWelcomePage', newChecked);
+ const newValue = e.target.checked ? 'welcomePage' : 'none';
+ props.preferenceService.updateValue('workbench.startupEditor', newValue);
};
return (
-
diff --git a/packages/getting-started/tsconfig.json b/packages/getting-started/tsconfig.json
index ba31f57815a43..26df745bdd0c6 100644
--- a/packages/getting-started/tsconfig.json
+++ b/packages/getting-started/tsconfig.json
@@ -12,9 +12,18 @@
{
"path": "../core"
},
+ {
+ "path": "../editor"
+ },
+ {
+ "path": "../filesystem"
+ },
{
"path": "../keymaps"
},
+ {
+ "path": "../preview"
+ },
{
"path": "../workspace"
}