refactor: misc cleanup (#10046)
This commit is contained in:
@ -63,7 +63,7 @@ function createDynamicClass(
|
||||
};
|
||||
});
|
||||
_classStmt.methods.forEach(function(method: o.ClassMethod) {
|
||||
var paramNames = method.params.map(param => param.name);
|
||||
const paramNames = method.params.map(param => param.name);
|
||||
// Note: use `function` instead of arrow function to capture `this`
|
||||
propertyDescriptors[method.name] = {
|
||||
writable: false,
|
||||
|
Reference in New Issue
Block a user