We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source structure:
Clone result:
Added new node ParenthesizedExpression
The text was updated successfully, but these errors were encountered:
I have an idea that it can be fixed in this way. How right am I?
export function cloneElementAccessExpression(node: TS.ElementAccessExpression, options: CloneNodeVisitorOptions<TS.ElementAccessExpression>): TS.ElementAccessExpression | TS.ElementAccessChain { if(node.questionDotToken) { return options.factory.createElementAccessChain( options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("questionDotToken", options.nextNode(node.questionDotToken), node.questionDotToken), options.hook("argumentExpression", options.nextNode(node.argumentExpression), node.argumentExpression) ); } return options.factory.createElementAccessExpression( options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("argumentExpression", options.nextNode(node.argumentExpression), node.argumentExpression) ); }
Sorry, something went wrong.
No branches or pull requests
Source structure:
Clone result:
Added new node ParenthesizedExpression
The text was updated successfully, but these errors were encountered: