From 3dd83fdbdba02bb59bc4af51f2ddcd8a85067398 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 18 Sep 2024 14:54:52 +0100 Subject: Revert "feat(fmt): sort type-only named import/exports last" (#25705) Reverts #25690 This was not an issue with the ts compiler anymore. Discussion here: https://github.com/dprint/dprint-plugin-typescript/pull/664#issuecomment-2357000053 --- ext/node/polyfills/_fs/_fs_access.ts | 2 +- ext/node/polyfills/_fs/_fs_chown.ts | 2 +- ext/node/polyfills/_fs/_fs_lchown.ts | 2 +- ext/node/polyfills/child_process.ts | 4 ++-- ext/node/polyfills/https.ts | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'ext/node') diff --git a/ext/node/polyfills/_fs/_fs_access.ts b/ext/node/polyfills/_fs/_fs_access.ts index 1a9041e30..b501bcbca 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 3270095bf..56364109d 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 50d777b53..8611c8021 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 017318878..f77a430c2 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 c95db6aa2..f60c5e471 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"; -- cgit v1.2.3