-
Notifications
You must be signed in to change notification settings - Fork 716
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
Conversation
tests/helpers/test-server.ts
Outdated
const createServer = (isHTTPS?: boolean) => { | ||
const server = new Server(isHTTPS); | ||
export const createServer = (isHTTPS?: boolean) => { | ||
const a = new Server(isHTTPS); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@molant done!
6c33663
to
edf8bda
Compare
Related #432