Skip to content

Commit e3ace27

Browse files
committed
fixup! refactor: Rename imported symbols
1 parent 64123cc commit e3ace27

File tree

2 files changed

+126
-126
lines changed

2 files changed

+126
-126
lines changed

Diff for: lib/constructs/interface.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ class Interface {
508508
generateExport() {
509509
this.str += `
510510
exports.is = function is(obj) {
511-
return utils.isObject(obj) && utils.hasOwn(obj, impl) && obj[implSymbol] instanceof Impl.implementation;
511+
return utils.isObject(obj) && utils.hasOwn(obj, implSymbol) && obj[implSymbol] instanceof Impl.implementation;
512512
};
513513
exports.isImpl = function isImpl(obj) {
514514
return utils.isObject(obj) && obj instanceof Impl.implementation;
@@ -1144,7 +1144,7 @@ class Interface {
11441144
privateData.wrapper = obj;
11451145
11461146
exports._internalSetup(obj, globalObject);
1147-
Object.defineProperty(obj, impl, {
1147+
Object.defineProperty(obj, implSymbol, {
11481148
value: new Impl.implementation(globalObject, constructorArgs, privateData),
11491149
configurable: true
11501150
});

0 commit comments

Comments
 (0)