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

feat: infer function types #1

Merged
merged 6 commits into from
Mar 25, 2021
Merged

feat: infer function types #1

merged 6 commits into from
Mar 25, 2021

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Mar 24, 2021

Todo:

  • Infer name and default value for arguments
  • Infer type declaration for arguments
  • Function signuture
  • Arrow function
  • Normal function
  • Optional arguments (types)
  • Support jsdocs with export default syntax
  • Support assignment condition const a = () => {} / const b = function() {}

Co-authored-by: Daniel Roe [email protected]

Co-authored-by: Daniel Roe <[email protected]>
@pi0 pi0 assigned pi0 and danielroe and unassigned pi0 and danielroe Mar 24, 2021
@atinux atinux assigned atinux and unassigned atinux Mar 25, 2021
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 25, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: fc25d4f
Status:⚡️  Build in progress...

View logs

@pi0 pi0 merged commit 8f16a32 into main Mar 25, 2021
@pi0
Copy link
Member Author

pi0 commented Mar 25, 2021

Two items remaining. Merging to avoid being stalled.

@pi0 pi0 deleted the feat/function-types branch March 25, 2021 22:31
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.

3 participants