UNPKG

dunder-proto

Version:

If available, the `Object.prototype.__proto__` accessor and mutator, call-bound

5 lines (3 loc) 144 B
declare function setDunderProto<P extends null | object>(target: {}, proto: P): P; declare const x: false | typeof setDunderProto; export = x;