jorgebucaran / superfine

Absolutely minimal view layer for building web interfaces
https://git.io/super
MIT License
1.57k stars 78 forks source link

add null possibility to patch types #100

Closed dancespiele closed 6 years ago

dancespiele commented 6 years ago

I need this if not I get error when I put this: patch(node, document.getElementById(this.root)); because typescript consider that maybe I can get null from document.getElementById(this.root) then throw compatibility types error

codecov-io commented 6 years ago

Codecov Report

Merging #100 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #100   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         115    115           
  Branches       36     36           
=====================================
  Hits          115    115

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 652bdf8...49ae546. Read the comment docs.

jorgebucaran commented 6 years ago

Perfect, thanks! 🎉