unifiedjs / unified

☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees
https://unifiedjs.com
MIT License
4.49k stars 110 forks source link

Fix type of `run` signature #174

Closed alvinleung1996 closed 3 years ago

alvinleung1996 commented 3 years ago

Initial checklist

Description of changes

The 3rd overload signature (the promise variant) of FrozenProcessor.run now correctly accepts a tree of type ParseTree instead of CompileTree.

Fix #173.

codecov-commenter commented 3 years ago

Codecov Report

Merging #174 (4996c21) into main (c3ba2cd) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 4996c21 differs from pull request most recent head 0d58900. Consider uploading reports for the commit 0d58900 to get more accurate results Impacted file tree graph

@@            Coverage Diff            @@
##              main      #174   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          600       600           
=========================================
  Hits           600       600           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c3ba2cd...0d58900. Read the comment docs.

github-actions[bot] commented 3 years ago

Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the no/* labels.

wooorm commented 3 years ago

thanks, released!