Skip to content

Improve type declarations #67

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

Merged
merged 1 commit into from
Apr 25, 2020
Merged

Improve type declarations #67

merged 1 commit into from
Apr 25, 2020

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Apr 21, 2020

  • Indicate that a CustomStringCallback can return undefined to
    indicate that no custom behavior should be applied for that node.

  • Allow WalkCallback to return false. Otherwise, a callback that may
    or may not prevent further traversal can't be expressed in
    TypeScript, since it doesn't allow a function to only return a value
    some of the time.

* Indicate that a CustomStringCallback can return undefined to
  indicate that no custom behavior should be applied for that node.

* Allow WalkCallback to return false. Otherwise, a callback that may
  or may not prevent further traversal can't be expressed in
  TypeScript, since it doesn't allow a function to only return a value
  some of the time.
@nex3
Copy link
Contributor Author

nex3 commented Apr 24, 2020

What's the process for landing these PRs? Is there anything you're waiting on me for?

@alexander-akait
Copy link
Collaborator

/cc @TrySound can you review?

@alexander-akait alexander-akait merged commit a8fddeb into TrySound:master Apr 25, 2020
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