Commit Graph
5 Commits
Author SHA1 Message Date
Luke Schoen caab03a6e9 fix: Do not import from same package as importing into as recursive 2018-07-26 18:07:15 +02:00
Luke Schoen b14b3383fb fix: Remove Maybe from import 2018-07-26 18:01:45 +02:00
Luke Schoen 760e45e89f fix: Remove Maybe from return type since not returning null value 2018-07-26 18:01:45 +02:00
Luke Schoen ee8b76233a fix: Relates to #9. Reuse calculation of average block time
Issues:

* Unable to import `blockAverage` into Chain.ts or Node.ts due to Issue #21.
* TypeScript says `[ts] Module '"/Users/Me/code/blockchain/clones/paritytech/dotstats/packages/common/build/index"' has no exported member 'blockAverage'.`
2018-07-26 18:01:43 +02:00
Luke Schoen f735d2ac3a Port numbers as constants 2018-07-24 23:08:06 +02:00