• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scurker / currency.js / 1147
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: renovate/flow-bin-0.x
DEFAULT BRANCH: main
Ran 09 Mar 2021 03:40PM UTC
Jobs 2
Files 1
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1147

push

travis-ci

web-flow
TS declaration declares currency global (#297)

* TS declaration declares currency global

ISSUE: The currency export is also declared globally as a namespace const and constructor.

When importing currency.js once in a module, TypeScript loads this declaration file and declares `currency` global and assumes it's available in all modules. This is not true and will give runtime errors. Exporting`currency` inside the module declaration ensures it's is imported in every module that is using it because TS will give compile errors.

* formatting

Co-authored-by: Jason <jason@scurker.com>

50 of 50 branches covered (100.0%)

99 of 99 relevant lines covered (100.0%)

207.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1147.1 09 Mar 2021 03:40PM UTC 0
100.0
Travis Job 1147.1
2 1147.2 09 Mar 2021 03:40PM UTC 0
100.0
Travis Job 1147.2
Source Files on build 1147
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1147
  • 4a7946a2 on github
  • Prev Build on master (#1129)
  • Next Build on master (#1158)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc