github dprint/dprint-plugin-typescript 0.89.0

latest releases: 0.93.2, 0.93.1, 0.93.0...
9 months ago

Changes

  • feat: add parenExpression.spaceAround (#607)
  • feat: add catchClause.spaceAround (#608)
  • feat: support source phase imports (#610)
  • fix: arguments.spaceAround not adding spaces when an arrow function is the only argument (#606)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array (can be done via dprint config add typescript).
  2. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.89.0.wasm"
      ]
    }

JS Formatting API

Don't miss a new dprint-plugin-typescript release

NewReleases is sending notifications on new releases.