Skip to content

Commit 61c3e87

Browse files
committed
chore: fixup build
1 parent 912e0be commit 61c3e87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/sortFields.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { split } from 'property-expr';
44

55
import Ref from '../Reference';
66
import isSchema from './isSchema';
7-
import { ObjectShape } from '../object';
7+
import { ObjectShape } from './objectTypes';
88

99
export default function sortFields(
1010
fields: ObjectShape,
@@ -28,7 +28,7 @@ export default function sortFields(
2828

2929
if (Ref.isRef(value) && value.isSibling) addNode(value.path, key);
3030
else if (isSchema(value) && 'deps' in value)
31-
value.deps.forEach((path) => addNode(path, key));
31+
(value as any).deps.forEach((path: string) => addNode(path, key));
3232
}
3333

3434
return toposort.array(Array.from(nodes), edges).reverse() as string[];

0 commit comments

Comments
 (0)