-
-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Labels
Description
When I bundle
import { CentraRequest, HTTPMethod } from './lib/CentraRequest';
import { URL } from 'url';
/**
*
*
* @param {(URL | string)} url
* @param {HTTPMethod} [method='GET']
*/
export = (url: URL | string, method: HTTPMethod = 'GET') => new CentraRequest(url, method);;
I get module.exports.default = the function rather than module.exports = function which is the intended behavior.
Are there any solutions or workarounds to this?