gritql icon indicating copy to clipboard operation
gritql copied to clipboard

TypeScript AST improvement

Open morgante opened this issue 1 year ago • 1 comments

The handling of export statements is surprising here: https://app.grit.io/studio?key=OqY8UMwQ3rLV3Sp-ZIIxV

Specifically, the decorator attaching to the export instead of the class_declarator isn't expected. It also doesn't match the TypeScript AST: https://ts-ast-viewer.com/#code/FAAQwg9gtgDhB2BTeAXAFAbwL4EpgGMAbAQwGdSACAZQAtiZELthRJYFl1s9EAPOAE4oKRMpVr1EhROSZYW4aHCSpMuAiVlUAjgFdiAxnxTIAJuLoM5rJR1XdgfQcNGyAKgICWxeAHNpFMZmFpLWiuwqXOqulAAaFJ6w0lCclACaYWzKnGo8-BBCIpqUAFoJSYgpqOmZtpG5GmIUALKBvCbw5hRpGYkwyandtRE5Dk4FLsUUAHJtHV095f2VgxnYQA

morgante avatar Apr 11 '24 04:04 morgante

look ma, i raised an issue

scr2em avatar Apr 11 '24 04:04 scr2em