Skip to content

Commit fcfe71b

Browse files
committed
Fix properties value type of a Trace
The TSP specifies it as a map String to String and not as a map String to any type. Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
1 parent 03d11bc commit fcfe71b

File tree

1 file changed

+2
-3
lines changed
  • tsp-typescript-client/src/models

1 file changed

+2
-3
lines changed

tsp-typescript-client/src/models/trace.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { assertNumber, createNormalizer } from '../protocol/serialization';
33
export const Trace = createNormalizer<Trace>({
44
end: BigInt,
55
nbEvents: assertNumber,
6-
start: BigInt,
7-
properties: undefined,
6+
start: BigInt
87
});
98

109
/**
@@ -44,7 +43,7 @@ export interface Trace {
4443
/**
4544
* Trace's properties
4645
*/
47-
properties: Record<string, any>;
46+
properties: Record<string, string>;
4847

4948
/**
5049
* Indicate if the indexing of the trace is completed or still running.

0 commit comments

Comments
 (0)