UNPKG

@structured-types/playground-plugin

Version:

Typescript playground plugin to display the types from source code.

29 lines (19 loc) 822 B
## Playground Structured Types A TypeScript playground plugin which shows the type information for the current file. ![./react-types.jpg](https://github.com/ccontrols/structured-types/raw/master/packages/ts-playground-plugin/react-types.jpg) ## Running this plugin - [Click this link](https://www.typescriptlang.org/play?install-plugin=@structured-types/playground-plugin) to install or - Open up the TypeScript Playground - Go the "Plugins" in the sidebar - Look for "Plugins from npm" - Add "@structured-types/playground-plugin" - Reload the browser Then it will show up as a tab in the sidebar. ```sh git clone https://github.com/ccontrols/structured-types yarn install cd packages/instant-documentation-plugin yarn start ``` Then tick the box for starting plugin development inside the TypeScript Playground.