ts-has-own-property
Version:
Fix for Object.hasOwnProperty, which normally just returns a boolean, which is not good when you care about strong typing
13 lines (9 loc) • 391 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var _hasOwnProperty = Object.prototype.hasOwnProperty;
var hasOwnProperty = function hasOwnProperty(object, property) {
return _hasOwnProperty.call(object, property);
};
exports.default = hasOwnProperty;
exports.hasOwnProperty = hasOwnProperty;
//# sourceMappingURL=ts-has-own-property.cjs.development.js.map