Skip to content

Conversation

jgehrcke
Copy link

@jgehrcke jgehrcke commented May 7, 2020

When the object returned by app.listen() is not called server but e.g. httpserver then

const httpTerminator = createHttpTerminator({
  httpserver,
});

will not compile, but

const httpTerminator = createHttpTerminator({
  server: httpserver,
});

does.

When the object returned by `app.listen()` is not called `server` but e.g. `httpserver` then

const httpTerminator = createHttpTerminator({
  httpserver,
});

will not compile, but

const httpTerminator = createHttpTerminator({
  server: httpserver,
});

does
@gajus gajus added the invalid This doesn't seem right label May 7, 2020
@gajus gajus closed this May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants