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

https://github.com/orta/playground-typescript-json-schema


https://github.com/orta/playground-typescript-json-schema

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

## TypeScript Playground Plugin

This plugin uses a custom build of YousefED/typescript-json-schema (at commit 20a03a2 to output the JSON schema version of your exported interfaces/types from the Playground editor.

## Running this plugin

- [Click this link](https://www.typescriptlang.org/play?install-plugin=playground-typescript-json-schema) to install

or

- Open up the TypeScript Playground
- Go the "Plugins" in the sidebar
- Look for "Plugins from npm"
- Add "playground-typescript-json-schema"
- Reload the browser

Then it will show up as a tab in the sidebar.

## Contributing

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

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

Then tick the box for starting plugin development inside the TypeScript Playground.