An open API service indexing awesome lists of open source software.

https://github.com/type-challenges/playground-plugin

Plugin for TypeScript Playground
https://github.com/type-challenges/playground-plugin

ts-playground

Last synced: 4 months ago
JSON representation

Plugin for TypeScript Playground

Awesome Lists containing this project

README

          

## @type-challenges/playground-plugin

[简体中文](./README.zh-CN.md)

TypeScript Playground Plugin for [Type Challenges](https://github.com/type-challenges/type-challenges).

![picture 1](images/31db67de83c2de209755814f2d892326846df0e1d03cf94a42e69228b1a181a0.gif)

Supported Features:

- [x] Pick question in challenge list
- [x] Switch languages
- [x] Copy and share answer to GitHub issue
- [x] Quick start next question
- [x] Quick find solutions

## Getting Started

### Step 1

[Open TypeScript Playground with Plugin](https://www.typescriptlang.org/play?install-plugin=%40type-challenges%2Fplayground-plugin)

### Step 2

![picture 2](images/e729298e337f291f715efdcb9fd5a7999d6563beb4fb27d9e845c681f75b3fe2.png)

Confirm "OK".

### Step 3

![picture 3](images/7d2e61ffca9179651ae071db60671f1c8c3500fb7d4d254f4322873d75ed422c.png)

Start the challenge in TypeScript Playground!

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full details, however, TLDR:

```sh
git clone ...
yarn
yarn start
```

tick the **Connect to localhost:5000** in bottom of Plugins Panel, and refresh browser page.