Skip to content

Commit

Permalink
Update instrumentation.ts (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek committed May 25, 2023
1 parent 59628bb commit 48d3fa9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,12 @@ export class UserInteractionInstrumentation extends InstrumentationBase<unknown>
* Creates a new span
* @param element
* @param eventName
* @param parentSpan
*/
private _createSpan(
element: EventTarget | null | undefined,
eventName: EventName,
parentSpan?: api.Span | undefined
parentSpan?: api.Span
): api.Span | undefined {
if (!(element instanceof HTMLElement)) {
return undefined;
Expand Down

0 comments on commit 48d3fa9

Please sign in to comment.