summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-18 14:54:52 +0100
committerGitHub <noreply@github.com>2024-09-18 13:54:52 +0000
commit3dd83fdbdba02bb59bc4af51f2ddcd8a85067398 (patch)
treeca585bb16ff45b499dde8b28c189edb2457b35d4 /tests/testdata
parentbed46474b2d59b229bd85dbdec5b3d943c32f60f (diff)
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
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/repl/import_type.ts2
-rw-r--r--tests/testdata/run/import_type.ts2
2 files changed, 2 insertions, 2 deletions
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();