Skip to content

Commit acb0759

Browse files
committed
fix(transformer): destructure objectName+propertyName instead of thisPropertyName
1 parent ffb7d51 commit acb0759

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/transformer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class Transformer {
245245
* @returns {string} esquery selector.
246246
*/
247247
#fromFunctionQuery (functionQuery) {
248-
const { functionName, expressionName, className, thisPropertyName } = functionQuery
248+
const { functionName, expressionName, className, objectName, propertyName } = functionQuery
249249
const type = functionQuery.privateMethodName ? 'PrivateIdentifier' : 'Identifier'
250250
const queries = []
251251

0 commit comments

Comments
 (0)