node-modules / mm

An simple but flexible mock(or say stub) package, mock mate
Other
159 stars 16 forks source link

refactor(tsd): use Interface Function Type #42

Closed paranoidjk closed 6 years ago

paranoidjk commented 6 years ago

so that egg-mock can extends this ref https://github.com/eggjs/egg-mock/pull/81#issuecomment-411335563

paranoidjk commented 6 years ago

cc/ @whxaxes

codecov[bot] commented 6 years ago

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   97.75%   97.75%           
=======================================
  Files           3        3           
  Lines         267      267           
=======================================
  Hits          261      261           
  Misses          6        6

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 364020a...8d6c7eb. Read the comment docs.

fengmk2 commented 6 years ago

@paranoidjk https://github.com/eggjs/egg-mock/pull/81#issuecomment-411341790 这个问题要解决了才合并么?

paranoidjk commented 6 years ago

@fengmk2 不用,单就 mm 这个库自己而言,它怎么定义都是可用的。 我到 egg-mock 那边用 any 解决这个重载问题。

fengmk2 commented 6 years ago

2.4.0