-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Labels
Library definitionsIssues or pull requests about core library definitionsIssues or pull requests about core library definitions
Description
flow has support for Node's http module. However calling listen on a Server instance causes an error that shouldn't exist. Given the following code:
import http from 'http';
const server = http.createServer(() => {});
server.listen(3000, () => {});The error is:
call of method `listen`
Function cannot be called on any member of intersection type
You can see this on tryflow.org:
http://tryflow.org/#6b0a9f9d52c7320c9e9de182fa081c55
bakotaco, jedwards1211, Hilzu, wbyoung, atfzl and 4 more
Metadata
Metadata
Assignees
Labels
Library definitionsIssues or pull requests about core library definitionsIssues or pull requests about core library definitions