diff --git a/.dprint.json b/.dprint.json index 193db6febac60d..0acfb5ca35bed1 100644 --- a/.dprint.json +++ b/.dprint.json @@ -64,7 +64,7 @@ "third_party" ], "plugins": [ - "https://plugins.dprint.dev/typescript-0.92.0.wasm", + "https://plugins.dprint.dev/typescript-0.93.0.wasm", "https://plugins.dprint.dev/json-0.19.3.wasm", "https://plugins.dprint.dev/markdown-0.17.8.wasm", "https://plugins.dprint.dev/toml-0.6.2.wasm", diff --git a/Cargo.lock b/Cargo.lock index 077d31f19aedfa..9dbd78e97dd186 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2519,9 +2519,9 @@ dependencies = [ [[package]] name = "dprint-plugin-typescript" -version = "0.92.0" +version = "0.93.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e454b93b06b61a6cf76b921906074616052a29a16dba8119947669121283fc3" +checksum = "e9308d98b923b7c0335c2ee1560199e3f2321b1be82803107b4ba4ed5dac46cc" dependencies = [ "anyhow", "deno_ast", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 057b601ff669d5..b59667f825e550 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -102,7 +102,7 @@ dotenvy = "0.15.7" dprint-plugin-json = "=0.19.3" dprint-plugin-jupyter = "=0.1.3" dprint-plugin-markdown = "=0.17.8" -dprint-plugin-typescript = "=0.92.0" +dprint-plugin-typescript = "=0.93.0" env_logger = "=0.10.0" fancy-regex = "=0.10.0" faster-hex.workspace = true diff --git a/ext/node/polyfills/_fs/_fs_access.ts b/ext/node/polyfills/_fs/_fs_access.ts index 1a9041e30432c0..b501bcbcaef304 100644 --- a/ext/node/polyfills/_fs/_fs_access.ts +++ b/ext/node/polyfills/_fs/_fs_access.ts @@ -4,8 +4,8 @@ // deno-lint-ignore-file prefer-primordials import { - makeCallback, type CallbackWithError, + makeCallback, } from "ext:deno_node/_fs/_fs_common.ts"; import { fs } from "ext:deno_node/internal_binding/constants.ts"; import { codeMap } from "ext:deno_node/internal_binding/uv.ts"; diff --git a/ext/node/polyfills/_fs/_fs_chown.ts b/ext/node/polyfills/_fs/_fs_chown.ts index 3270095bfac05e..56364109d5d485 100644 --- a/ext/node/polyfills/_fs/_fs_chown.ts +++ b/ext/node/polyfills/_fs/_fs_chown.ts @@ -4,8 +4,8 @@ // deno-lint-ignore-file prefer-primordials import { - makeCallback, type CallbackWithError, + makeCallback, } from "ext:deno_node/_fs/_fs_common.ts"; import { getValidatedPath, diff --git a/ext/node/polyfills/_fs/_fs_lchown.ts b/ext/node/polyfills/_fs/_fs_lchown.ts index 50d777b53799d2..8611c8021d9a69 100644 --- a/ext/node/polyfills/_fs/_fs_lchown.ts +++ b/ext/node/polyfills/_fs/_fs_lchown.ts @@ -4,8 +4,8 @@ // deno-lint-ignore-file prefer-primordials import { - makeCallback, type CallbackWithError, + makeCallback, } from "ext:deno_node/_fs/_fs_common.ts"; import { getValidatedPath, diff --git a/ext/node/polyfills/child_process.ts b/ext/node/polyfills/child_process.ts index 01731887893404..f77a430c2cb352 100644 --- a/ext/node/polyfills/child_process.ts +++ b/ext/node/polyfills/child_process.ts @@ -18,11 +18,11 @@ import { ChildProcessOptions, normalizeSpawnArguments, setupChannel, - spawnSync as _spawnSync, - stdioStringToArray, type SpawnOptions, + spawnSync as _spawnSync, type SpawnSyncOptions, type SpawnSyncResult, + stdioStringToArray, } from "ext:deno_node/internal/child_process.ts"; import { validateAbortSignal, diff --git a/ext/node/polyfills/https.ts b/ext/node/polyfills/https.ts index c95db6aa2e0275..f60c5e471ab1e5 100644 --- a/ext/node/polyfills/https.ts +++ b/ext/node/polyfills/https.ts @@ -13,7 +13,7 @@ import { } from "node:http"; import { Agent as HttpAgent } from "node:_http_agent"; import { createHttpClient } from "ext:deno_fetch/22_http_client.js"; -import { ServerImpl as HttpServer, type ServerHandler } from "node:http"; +import { type ServerHandler, ServerImpl as HttpServer } from "node:http"; import { validateObject } from "ext:deno_node/internal/validators.mjs"; import { kEmptyObject } from "ext:deno_node/internal/util.mjs"; import { Buffer } from "node:buffer"; diff --git a/tests/testdata/repl/import_type.ts b/tests/testdata/repl/import_type.ts index 0bee2174765381..851ebad86ac43e 100644 --- a/tests/testdata/repl/import_type.ts +++ b/tests/testdata/repl/import_type.ts @@ -1,4 +1,4 @@ -import { create, type B } from "./subdir/export_types.ts"; +import { type B, create } from "./subdir/export_types.ts"; const b: B = create(); diff --git a/tests/testdata/run/import_type.ts b/tests/testdata/run/import_type.ts index 65e140cda07f88..22c639cbcfc7ed 100644 --- a/tests/testdata/run/import_type.ts +++ b/tests/testdata/run/import_type.ts @@ -1,4 +1,4 @@ -import { create, type B } from "../subdir/export_types.ts"; +import { type B, create } from "../subdir/export_types.ts"; const b: B = create();