JSBestPractices / numeral

Numeral is a standard Deno module for formatting and manipulating numbers.
4 stars 2 forks source link

Update mod.ts #2

Open Ding-Fan opened 3 years ago

Ding-Fan commented 3 years ago

maybe a fix for #1

https://developer.mozilla.org/en-US/docs/web/javascript/reference/statements/export

Note: The following is syntactically invalid despite its import equivalent:

import DefaultExport from 'bar.js'; // Valid
export DefaultExport from 'bar.js'; // Invalid

The correct way of doing this is to rename the export:

export { default as DefaultExport } from 'bar.js';
reesericci commented 2 years ago

Can you publish your fork to https://deno.land/x ?

Ding-Fan commented 2 years ago

Can you publish your fork to https://deno.land/x ?

sorry, really busy these days :sleepy: maybe you can publish it :smiley:

sant123 commented 1 year ago

Any advance on this? 🤔