-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: handle null as the first argument in identify #950
Conversation
🦋 Changeset detectedLatest commit: 121a317 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
options?: Options | ||
callback?: Callback | ||
} = {} | ||
// It's a stack so it's reversed so that we go through each of the expected arguments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a leetcode problem 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It totally is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I f'ing love this.
packages/browser/src/core/arguments-resolver/__tests__/index.test.ts
Outdated
Show resolved
Hide resolved
packages/browser/src/core/arguments-resolver/__tests__/index.test.ts
Outdated
Show resolved
Hide resolved
callback?: Callback | ||
} = {} | ||
// It's a stack so it's reversed so that we go through each of the expected arguments | ||
const orderStack: Array<keyof typeof values> = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the old TS array syntax???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason eslint didn't like the new syntax :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
yarn changeset
. Read about changesets here).