Open onionhammer opened 5 years ago
Yet Another workaround
Create a 'hack.js' file, enable 'allowJS' in tsconfig, and include following content
import * as http from 'http';
import * as https from 'hyco-https';
http.ServerResponse = https.ServerResponse;
export { }
Then in your index.ts include the hack before including 'express'
import './hack';
import * as express from 'express';
FYI - We are planning activities to improve our SDKs. This items in being under consideration.
Actual Behavior
Expected Behavior
Versions