Skip to content

Commit

Permalink
Fix TS warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mgacy committed Jan 16, 2024
1 parent 2875c2f commit f319405
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,10 @@ export type EntityIdentifier = {
value: string;
};

export function getProfile(identifier?: EntityIdentifier): Promise<LyticsUser> {
return Sdk.getProfile(identifier?.name, identifier?.value);
export function getProfile(
entityIdentifier?: EntityIdentifier
): Promise<LyticsUser> {
return Sdk.getProfile(entityIdentifier?.name, entityIdentifier?.value);
}

// Tracking
Expand Down

0 comments on commit f319405

Please sign in to comment.