You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When debugging the linter run, I have found that dec.expression.callee is undefined. The name of the decorator is situated directly on dec.expression. This issue is happening when using the decorator in this way:
@BindToInstance
async onApply(
...
instead of
@BindToInstance()
async onApply(
...
Do you agree to change it to:
function decoratorName(dec) {
if (!dec.expression) return undefined;
const { callee, name } = dec.expression;
return callee ? callee.name : name;
}
The text was updated successfully, but these errors were encountered:
Hello, when using the linter, I have an error exactly here:
stencil-eslint/src/utils.ts
Line 50 in 506dba7
When debugging the linter run, I have found that
dec.expression.callee
isundefined
. The name of the decorator is situated directly ondec.expression
. This issue is happening when using the decorator in this way:instead of
Do you agree to change it to:
The text was updated successfully, but these errors were encountered: