Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt puppet mixin #300

Merged
merged 7 commits into from
Feb 24, 2022
4 changes: 4 additions & 0 deletions src/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export default class Manager extends EE<ManagerEvents> {
return this.options
}

public get (target: Manager, prop: keyof Manager & keyof RequestManager) {
return Object.prototype.hasOwnProperty.call(target, prop) ? target[prop] : target.requestManager[prop]
}

/**
* Lifecycle
*/
Expand Down
Loading