iterare icon indicating copy to clipboard operation
iterare copied to clipboard

fix: improve typing of flatten to infer return iterator type

Open forivall opened this issue 7 years ago • 4 comments

Also add a test for flatten, based on flatten.test.ts

forivall avatar Oct 03 '18 01:10 forivall

Codecov Report

Merging #22 into master will increase coverage by 1.22%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   92.02%   93.25%   +1.22%     
==========================================
  Files           8        8              
  Lines         163      163              
  Branches       29       29              
==========================================
+ Hits          150      152       +2     
+ Misses         13       11       -2
Impacted Files Coverage Δ
src/iterate.ts 89.36% <100%> (+2.12%) :arrow_up:

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 8e87efc...271c059. Read the comment docs.

codecov[bot] avatar Oct 03 '18 01:10 codecov[bot]

@felixfbecker is this PR waiting for something else?

cojack avatar Mar 17 '20 09:03 cojack

@cojack please read the discussion above.

felixfbecker avatar Mar 17 '20 09:03 felixfbecker

@cojack thanks for the reminder! i forgot i had this one open. I'll get to it soon, and I can also set up dtslint or https://www.npmjs.com/package/tsd in a new PR.

forivall avatar Mar 17 '20 17:03 forivall