Skip to content

Commit c141515

Browse files
committed
Fix import
1 parent 8884b48 commit c141515

File tree

1 file changed

+3
-2
lines changed
  • src/components/Errors/ErrorDetails/ErrorDetailsCardContent/FlowStack/SpanFrameGroup

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import type { ErrorOriginService } from "../../../../../../redux/services/digmaCodeGen";
1+
import type { ErrorOriginService } from "../../../../../../redux/services/types";
22
import { isObject } from "../../../../../../typeGuards/isObject";
33
import { isString } from "../../../../../../typeGuards/isString";
44

55
export const isServiceInfoWithName = (
66
x: ErrorOriginService | null
7-
): x is { serviceName: string } => isObject(x) && isString(x.serviceName);
7+
): x is Omit<ErrorOriginService, "serviceName"> & { serviceName: string } =>
8+
isObject(x) && isString(x.serviceName);

0 commit comments

Comments
 (0)