mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
fix(es/helpers): Fix the name of _classPrivateFieldLooseBase
(#4061)
This commit is contained in:
parent
626afa180b
commit
f8a3849299
@ -1,4 +1,4 @@
|
||||
function _classPrivateFieldBase(receiver, privateKey) {
|
||||
function _classPrivateFieldLooseBase(receiver, privateKey) {
|
||||
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
||||
throw new TypeError("attempted to use private field on non-instance");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user