We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8884b48 commit c141515Copy full SHA for c141515
src/components/Errors/ErrorDetails/ErrorDetailsCardContent/FlowStack/SpanFrameGroup/typeGuards.ts
@@ -1,7 +1,8 @@
1
-import type { ErrorOriginService } from "../../../../../../redux/services/digmaCodeGen";
+import type { ErrorOriginService } from "../../../../../../redux/services/types";
2
import { isObject } from "../../../../../../typeGuards/isObject";
3
import { isString } from "../../../../../../typeGuards/isString";
4
5
export const isServiceInfoWithName = (
6
x: ErrorOriginService | null
7
-): x is { serviceName: string } => isObject(x) && isString(x.serviceName);
+): x is Omit<ErrorOriginService, "serviceName"> & { serviceName: string } =>
8
+ isObject(x) && isString(x.serviceName);
0 commit comments