|
public async identify(user: string, traits: JsonMap = {}, options: Options = {}) { |
Identify supports passing null to user, so can we modify its type to match?
P/s: People already created a PR #65 for this but closed. I think PR #147 hasn't fixed this typescript issue, as @bsneed stated.
analytics-react-native/packages/core/src/analytics.ts
Line 304 in e2b6bc8
Identify supports passing null to
user, so can we modify its type to match?P/s: People already created a PR #65 for this but closed. I think PR #147 hasn't fixed this typescript issue, as @bsneed stated.