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 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/node/polyfills/_fs') 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, -- cgit v1.2.3