Sorry I didn't include the imports to save space. url is the node url module
import * as url from 'url';
I do have the code in a GitHub repo but I am not entirely sure it's identical
github.com/elasticrash/dpp-queue
As for the unknown...unknown is a type that can be assigned to something without type assertion...it's like saying I don't care what is it but I I want to assume is is Incoming
unknown
Incoming
Many thanks, now is much more clear :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry I didn't include the imports to save space. url is the node url module
import * as url from 'url';
I do have the code in a GitHub repo but I am not entirely sure it's identical
github.com/elasticrash/dpp-queue
As for the
unknown
...unknown
is a type that can be assigned to something without type assertion...it's like saying I don't care what is it but I I want to assume is isIncoming
Many thanks, now is much more clear :)