Yaffle / BigDecimal

a polyfill for decimal propocal
MIT License
51 stars 7 forks source link

fix filename, export helper types/interfaces #14

Closed imirkin closed 1 year ago

imirkin commented 1 year ago

I also noticed that the typings didn't actually make it to the npm package. Hopefully this package.json change will make that happen, but I'm no npm pro.

I'm also not 100% sure what the deal is with default exports vs named exports, but the js module produces named exports - I think the two ought to match.

With this, I can do

import {BigDecimal} from "@yaffle/bigdecimal"

in my ts setup.

Yaffle commented 1 year ago

I have updated npm package, thanks