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 typescript circular ref errors and typing improvements #2

Merged
merged 2 commits into from Oct 16, 2019

Conversation

m-abboud
Copy link
Contributor

@m-abboud m-abboud commented Oct 14, 2019

Fixes the circular ref typescript errors with newer typescript as mentioned in #1 and upgrades typescript to 3.6.4

Also

  • Improves array typing so it knows if something is not an array then array indexes are invalid (this went hand and hand with typescript circular errors fix so I just did it)

  • Function return types so a.myfunc.result works now

  • Removes checked in built files

  • 'path' is a rather common field name so I changed it to be $path to avoid conflicts and its just a proxied field now instead of a function call for convenience

Sorry for dragging this PR into more than just the typescript errors fix can break it up into multiple PRs if you really really want it to be like that.

@bsalex bsalex merged commit f8ca40a into bsalex:master Oct 16, 2019
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.

None yet

2 participants