Skip to content

Commit 02d860f

Browse files
authored
Revert "Revert import order to fix imported class being not yet defined (#2599)" (#2600)
This reverts commit 1ad532b.
1 parent 1ad532b commit 02d860f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/quicktype-core/src/TypeUtils.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import { EqualityMap, iterableFirst, setFilter, setSortBy, setUnion } from "collection-utils";
22

3+
// eslint-disable-next-line import/no-cycle
4+
import { type StringTypes, stringTypesTypeAttributeKind } from "./attributes/StringTypes";
35
import {
46
type CombinationKind,
57
type TypeAttributes,
68
combineTypeAttributes,
79
emptyTypeAttributes
810
} from "./attributes/TypeAttributes";
911
import { assert, assertNever, defined, panic } from "./support/Support";
10-
// eslint-disable-next-line import/no-cycle
1112
import {
1213
ArrayType,
1314
type ClassProperty,
@@ -21,9 +22,6 @@ import {
2122
UnionType,
2223
isPrimitiveStringTypeKind
2324
} from "./Type";
24-
// String types should be imported last to avoid circular dependency issues.
25-
// eslint-disable-next-line import/order
26-
import { type StringTypes, stringTypesTypeAttributeKind } from "./attributes/StringTypes";
2725

2826
export function assertIsObject(t: Type): ObjectType {
2927
if (t instanceof ObjectType) {

0 commit comments

Comments
 (0)