It would be really useful if the Playground could import modules from published typings, simplest solution I can think of would be to expose everything from @types, for example:
import {Component} from "react";
Currently that just gives the error Cannot find module 'react'
This would be so sweet. @DanielRosenwasser maybe a checkout of DT on the webserver + some server-side magic could make this happen?
We also need JSX support.
We also need JSX support.
Completely agree! I think a lot of people don't realize how brilliantly React and TypeScript play together. An example in the playground wouldn't hurt. :)
Would love to have this and of course I'd like to import my own stuff, why limit to @types. I'm sure if you have one we can have our own types as well?
Most helpful comment
We also need JSX support.