Skip to content

Improve type declarations#67

Merged
alexander-akait merged 1 commit into
postcss:masterfrom
nex3:types
Apr 25, 2020
Merged

Improve type declarations#67
alexander-akait merged 1 commit into
postcss:masterfrom
nex3:types

Conversation

@nex3

@nex3 nex3 commented Apr 21, 2020

Copy link
Copy Markdown
Contributor
  • 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

nex3 commented Apr 24, 2020

Copy link
Copy Markdown
Contributor Author

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

@alexander-akait

Copy link
Copy Markdown
Collaborator

/cc @TrySound can you review?

@alexander-akait
alexander-akait merged commit a8fddeb into postcss: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