web-component-analyzer
web-component-analyzer copied to clipboard
Support for TypeScript 4.8 decorator AST changes
This PR adds TypeScript 4.8 to the set of TypeScript versions that are tested. TypeScript 4.8 has a breaking change to the AST where the .decorators
property has been deprecated and decorators are now found in the .modifiers
property.^1 This PR introduces a new getDecorators
function that returns all decorators existing in either array, if they exist.