diff --git a/README.md b/README.md index 5b08167..f7caccf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ ## VS Code Extensions from the TypeScript Team +## Extensions + +### [TypeScript Playground for VS Code](./packages/playground) + +An extension which runs a virtualized TypeScript project for safe exploration in learning and debugging TypeScript. + ## Deployment The extensions are deployed to the vscode extension after a merge as _preview_ builds. Trigger this [workflow to deploy to production](https://github.com/microsoft/TypeScript-VSCode-Extensions/actions/workflows/production-deploy.yml). diff --git a/packages/typescript-playground/src/web/extension.ts b/packages/typescript-playground/src/web/extension.ts index a853af6..bda5ed7 100644 --- a/packages/typescript-playground/src/web/extension.ts +++ b/packages/typescript-playground/src/web/extension.ts @@ -73,7 +73,7 @@ export function activate(context: vscode.ExtensionContext) { // This needs TS which means it has to run in the worker - // const params = new URLSearchParams(params) + // const params = new URLSearchParams(uri.query) // const compilerDefaults = getTSConfigForConfig(getDefaultSandboxCompilerOptions(false, {})) // memFs.writeFile(vscode.Uri.parse(`playfs:/tsconfig.json`), toBuffer(compilerDefaults), { create: true, overwrite: true, readonly: true }); }