Skip to content

Commit bdbbb42

Browse files
chore: update setFlowAttribute to accept null
1 parent 8effeee commit bdbbb42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/native/NativeAPM.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ export interface ApmNativeModule extends NativeModule {
2121
// App Flows APIs //
2222
startFlow(name: string): void;
2323
endFlow(name: string): void;
24-
setFlowAttribute(name: string, key: string, value?: string): void;
24+
25+
setFlowAttribute(name: string, key: string, value?: string | null): void;
2526

2627
// UI Traces APIs //
2728
setAutoUITraceEnabled(isEnabled: boolean): void;

0 commit comments

Comments
 (0)