aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unique.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/unique.ts b/src/unique.ts
index ff8698e6..f59a8ef2 100644
--- a/src/unique.ts
+++ b/src/unique.ts
@@ -83,7 +83,12 @@ export class Unique {
constructor() {
// Bind `this` so namespaced is working correctly
for (const name of Object.getOwnPropertyNames(Unique.prototype)) {
- if (name === 'constructor' || typeof this[name] !== 'function') {
+ if (
+ name === 'constructor' ||
+ name === 'maxTime' ||
+ name === 'maxRetries' ||
+ typeof this[name] !== 'function'
+ ) {
continue;
}
this[name] = this[name].bind(this);