Skip to content

Choose a tag to compare

@joshwcomeau joshwcomeau released this 20 Sep 21:45

Switched the default language from JavaScript to TypeScript. I think JS was a reasonable default back when I first released this package, but these days, most serious projects use TS, so it's a more sensible default.

If you don’t use TypeScript, you can switch back to JS by creating a .new-component-config.json in your home directory or in your project root:

{
  "lang": "js"
}