Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisit Supertype exports 'default' #10

Open
sshankar19 opened this issue Oct 3, 2018 · 0 comments
Open

Revisit Supertype exports 'default' #10

sshankar19 opened this issue Oct 3, 2018 · 0 comments
Milestone

Comments

@sshankar19
Copy link
Contributor

Currently we require the default ObjectTemplate like so

var ObjectTemplate = require('supertype').default;

because we export ObjectTemplate as default; in supertype's index.ts

We want to be able to do
var ObjectTemplate = require('supertype')

This is only for javascript packages

@sshankar19 sshankar19 added this to the Supertype-3.0 milestone Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant