Navigation Menu

Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

rtbenfield/tsdx-default-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSDX Bootstrap

This project was bootstrapped with TSDX.

The Issue

When building a reusable library to be consumed via NPM, I'd like to be able to provide a default export rather than named exports only. Using TSDX to build a project with a default export results in correct type definitions, but an export of an object containing a default field rather than the value itself. This can be observed in test/output.test.ts. Building the project with yarn build and then testing the output with yarn test will reproduce.

About

Project to verify tsdx default export issue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published