Node.js 在节点JS类型中';ClientRequest&x27;类型';中缺少以下属性;可观察<;Blob>';:_isScalar、震源、操作员、升降机和5个以上

Node.js 在节点JS类型中';ClientRequest&x27;类型';中缺少以下属性;可观察<;Blob>';:_isScalar、震源、操作员、升降机和5个以上,node.js,angular,ionic-framework,https,Node.js,Angular,Ionic Framework,Https,在Nodejs中获取此错误 getImage(imageUrl: string): Rx.Observable<Blob> { return https.get(imageUrl, { responseType: 'blob' }); } getImage(imageUrl:string):Rx.Observable{ 返回https.get(imageUrl,{responseType:'blob'}); } 如何执行此nodejs调用获取可观察blob的http请求

在Nodejs中获取此错误

getImage(imageUrl: string): Rx.Observable<Blob> {
    return https.get(imageUrl, { responseType: 'blob' });
 }
getImage(imageUrl:string):Rx.Observable{
返回https.get(imageUrl,{responseType:'blob'});
}

如何执行此nodejs调用获取可观察blob的http请求

angular
还是
node.js
?请澄清。另外,请告诉这里的
https
变量是什么。import https=require('https');导入Rx=需要(“rxjs”);NodeJs