Skip to content

Releases: dprint/dprint-plugin-typescript

0.96.0

04 May 16:06

Choose a tag to compare

Changes

  • feat: add functionExpression.flatIife option (#781)
  • fix: handle multi-character binary operators split by SWC's lexer (#780)

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

JS Formatting API

0.95.15

02 Feb 18:48

Choose a tag to compare

Changes

  • fix: npm publish was broken (#773)
  • fix: remove needless parens in key value prop value (#766)

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

JS Formatting API

0.95.13

27 Nov 02:52

Choose a tag to compare

Changes

  • fix: deno_ast 0.52 (#758)

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

JS Formatting API

0.95.12

28 Oct 19:24

Choose a tag to compare

Changes

  • Upgrade deno_ast

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

JS Formatting API

0.95.11

29 Aug 16:55

Choose a tag to compare

Changes

  • fix: upgrade deno_ast to 0.50.0 (#736)

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

JS Formatting API

0.95.10

19 Aug 14:12

Choose a tag to compare

Changes

  • fix: keep paren around expr for @satisfies jsdoc (#735)

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

JS Formatting API

0.95.9

29 Jul 18:54

Choose a tag to compare

Changes

  • Updated deno_ast

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

JS Formatting API

0.95.8

23 Jun 19:41

Choose a tag to compare

Changes

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

JS Formatting API

0.95.7

12 Jun 16:36

Choose a tag to compare

Changes

  • fix: handling of indent inside embedded language (#718)

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

JS Formatting API

0.95.6

11 Jun 04:14

Choose a tag to compare

Changes

  • fix: line number in syntax error message from external formatter (#722)

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

JS Formatting API