Releases: dprint/dprint-plugin-typescript
Releases · dprint/dprint-plugin-typescript
0.91.3
Changes
- fix: upgrade deno_ast to 0.40.0 (#647)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.91.3.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.91.2
Changes
- fix: correct
bracePosition
forexport default class
(#646) - fix: correct spaceBeforeParentheses for
export default function
with name (#645)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.91.2.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.91.1
Changes
- perf: avoid file text string clone in wasm (#639)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.91.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.91.0
Changes
- feat: strip BOM on files without any changes otherwise (#638)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.91.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.90.5
Changes
- fix:
else
was moved to wrongif
sometimes when formatting minified code (#633)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.90.5.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.90.4
Changes
- fix: support abstract auto-accessors (#630)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.90.4.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.90.3
Changes
- fix: error for more unterminated nodes (#628)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.90.3.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.90.2
Changes
- fix: deno_ast 0.37 (#627)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.90.2.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.90.1
Changes
- fix: deno_ast 0.36 (#625)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.90.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.90.0
Changes
- feat: allow breaking imports/exports when more than one (#617, #619)
- fix: upgrade deno_ast to 0.35.0 (#618)
forceMultiLineSpecifiers
is no longer a boolean and takes never | always | whenMultiple
string options.
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.90.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package