Skip to content

Releases: dprint/dprint-plugin-typescript

0.89.2

21 Feb 20:42

Choose a tag to compare

Changes

  • fix: memory leak in dprint-swc-ext (#613)

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.2.wasm"
      ]
    }

JS Formatting API

0.89.1

16 Feb 13:42

Choose a tag to compare

Changes

  • fix: remove accidentally left around eprintln (#612)

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.1.wasm"
      ]
    }

JS Formatting API

0.89.0

08 Feb 23:28

Choose a tag to compare

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

0.88.10

22 Jan 20:51

Choose a tag to compare

Changes

  • upgrade deno_ast to 0.32.0 (#605)

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.88.10.wasm"
      ]
    }

JS Formatting API

0.88.9

13 Jan 16:06

Choose a tag to compare

Changes

  • fix: error on merge conflict marker (#600)

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.88.9.wasm"
      ]
    }

JS Formatting API

0.88.8

08 Jan 19:36

Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  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.88.8.wasm"
      ]
    }

JS Formatting API

0.88.7

01 Dec 17:44

Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  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.88.7.wasm"
      ]
    }

JS Formatting API

0.88.6

25 Nov 23:18

Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  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.88.6.wasm"
      ]
    }

JS Formatting API

0.88.5

24 Nov 17:18

Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  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.88.5.wasm"
      ]
    }

JS Formatting API

0.88.4

20 Nov 23:06

Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  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.88.4.wasm"
      ]
    }

JS Formatting API