@boost/internal
Version:
Boost internals.
13 lines (12 loc) • 354 B
JavaScript
/**
* For compatibility with ES modules, this function is used to extract the
* default export from an incompatible module.
*/
function interopDefault(result) {
if (result && typeof result === 'object' && 'default' in result) {
return result.default;
}
return result;
}
export { interopDefault };
//# sourceMappingURL=interopDefault.mjs.map