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 --- tests/testdata/repl/import_type.ts | 2 +- tests/testdata/run/import_type.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/testdata') diff --git a/tests/testdata/repl/import_type.ts b/tests/testdata/repl/import_type.ts index 0bee21747..851ebad86 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 65e140cda..22c639cbc 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(); -- cgit v1.2.3