Skip to content
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(Types): Closer to Completion #13

Merged
merged 2 commits into from
May 8, 2019
Merged

Fix(Types): Closer to Completion #13

merged 2 commits into from
May 8, 2019

Conversation

lukeed
Copy link
Owner

@lukeed lukeed commented May 1, 2019

The previous typings from #11 was consistently unhappy whenever you tried to ga.send() an event.

Also, TS (apparently) can't do method overloading with value matching, so the way that send was redefined didn't consistently work. It didn't allow for pageview to skip its 2nd arg, and it would, by default, show EventArgs to all callers until you scrolled thru the list manually.

I've fixed these edge cases after battling TS for a while, with help of friends.


Also changed the formatting of the info blocks so that they're consistent for each key.

Screen Shot 2019-04-30 at 5 57 31 PM

Screen Shot 2019-04-30 at 5 58 03 PM


@rand0me I'd appreciate it if you were able to take a look. Some of your docs were lost (eg, "Max Length: ...") but the rest of it should look familiar. Thanks~!

@lukeed lukeed merged commit 54d05da into master May 8, 2019
@lukeed lukeed deleted the fix/types branch May 8, 2019 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant