Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 9, 2019. It is now read-only.

Better TypeScript playground

NotificationsYou must be signed in to change notification settings

agentcooper/typescript-play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️Please usethe offical TypeScript playground, now it has all the same features and even more. Usehttps://github.com/microsoft/TypeScript-Website/issues for issues and questions.


A better TypeScript playground.

Website:https://typescript-play.js.org.

Differences fromhttps://www.typescriptlang.org/play:

  • All strict options turned on by default
  • More available compiler options
  • Ability to switch TypeScript version
  • More space for code
  • More examples
  • Quicker sharing, URL updates as you type
  • Shorter sharing URLs

Getting started

npm installnpm run setupnpm start

Updating TypeScript

Playground relies onUNPKG to fetchmonaco-editor (containstypescript throughmonaco-typescript package).

In case ifmonaco-editor is not updated to the latest TypeScript, the latest version can be built withnpm run get-typescript latest and served locally.If you run into errors, the latest monaco version may be incompatible with the latest typescript version,in which case you'll need to update monaco-typescript upstream, or apply a patch locally (see the# Patches section inget-typescript.sh.

In case you want to serve some specific version of TypeScript locally you should runnpm run get-typescript <version>. For example, to serve TypeScript version 2.8.3 you should runnpm run get-typescript 2.8.3; npm start

Browser compatibility

Tested with:

  • Chrome 65
  • Safari 11
  • Firefox 58
  • Microsoft Edge 41

Prior art

Other useful links

About

Better TypeScript playground

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors8


[8]ページ先頭

©2009-2025 Movatter.jp