use the new instanceof syntax for NodeJSClientRequest

This commit is contained in:
Erik Krogh Kristensen
2021-09-10 09:30:37 +02:00
parent 85e1c87d14
commit a756ffa3a6

View File

@@ -825,9 +825,7 @@ module NodeJSLib {
* A data flow node that is an HTTP or HTTPS client request made by a Node.js application,
* for example `http.request(url)`.
*/
class NodeJSClientRequest extends ClientRequest {
NodeJSClientRequest() { this instanceof NodeJSClientRequest::Range }
}
class NodeJSClientRequest extends ClientRequest instanceof NodeJSClientRequest::Range { }
module NodeJSClientRequest {
/**