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

Build: Generate files d.ts #448

Merged
merged 1 commit into from
Aug 23, 2017
Merged

Conversation

sarvaje
Copy link
Contributor

@sarvaje sarvaje commented Aug 22, 2017

Related #432

const createServer = (isHTTPS?: boolean) => {
const server = new Server(isHTTPS);
export const createServer = (isHTTPS?: boolean) => {
const a = new Server(isHTTPS);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about doing just a return new Server(isHTTPS);? Not a huge fan of a

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ups, I forgot to restore the name to server... but yes, maybe is better just do a return.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@molant done!

@molant
Copy link
Member

molant commented Aug 22, 2017

@alrra, @sarvaje is the .d.ts file going to be included directly on the npm package with this configuration or is there something else that needs to be done?

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

Successfully merging this pull request may close these issues.

3 participants