diff --git a/packages/typescript/index.js b/packages/typescript/index.js index 1521e34..9b71628 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -58,6 +58,9 @@ module.exports = { 'JSXEmptyExpression', 'JSXSpreadChild', 'TSTypeParameterInstantiation', + 'FunctionExpression > .params[decorators.length > 0]', + 'FunctionExpression > .params > :matches(Decorator, :not(:first-child))', + 'ClassBody.body > PropertyDefinition[decorators.length > 0] > .key', ], offsetTernaryExpressions: true, }],