gritql
gritql copied to clipboard
TypeScript AST improvement
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
look ma, i raised an issue