Skip to content

Commit 8884b48

Browse files
committed
Fix eslint error
1 parent 7507418 commit 8884b48

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

src/components/Errors/ErrorDetails/ErrorDetailsCardContent/FlowStack/SpanFrameGroup/typeGuards.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ import { isString } from "../../../../../../typeGuards/isString";
44

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

0 commit comments

Comments
 (0)