Closed matthewp closed 6 years ago
TypeScript projects expect the module export to contain a default property in order for imports to work:
default
import page from 'page';
This makes that work. In the future page.js will be an ES module so this won't be necessary.
Fixes #365
Coverage increased (+0.08%) to 89.362% when pulling d7a0758f9696115e95ff93496b0072ca6b5da626 on ts into 08026b54652894c8b43d35d9b13fb401ba4b07b2 on master.
TypeScript projects expect the module export to contain a
default
property in order for imports to work:This makes that work. In the future page.js will be an ES module so this won't be necessary.
Fixes #365