runem / web-component-analyzer

CLI that analyzes web components and emits documentation
https://runem.github.io/web-component-analyzer
MIT License
500 stars 61 forks source link

add property config resolution #233

Closed 43081j closed 2 years ago

43081j commented 2 years ago

We will now resolve values of variables among other things passed to property decorators and returned from property getters.

For example:

const someVariable = {type: String};

// elsewhere...
@property(someVariable)

Fixes runem/lit-analyzer#209

cc @pmcelhaney @justinfagnani