Now it's impossible to define getter for 'defaultState' with TypeScript.
Following error appears:
"'defaultState' is defined as a property in class 'HyperHTMLElement<{}>', but is overridden here in 'MyComponent' as an accessor."
See full description in issue: https://github.com/WebReflection/hyperHTML-Element/issues/77
This is because defaultState is defined as just readonly property
when it should be described as getter.
Description for 'defaultState' was updated to define it as 'getter'
Coverage remained the same at 96.581% when pulling f53a2f36e9b3a4c94ddff8bb16d667fb54d91f82 on abaksha-sc:Fix-for-defaultState into c953fe529d685ed59dfc7d9e0ff4818e252b5351 on WebReflection:master.
Now it's impossible to define getter for 'defaultState' with TypeScript. Following error appears: "'defaultState' is defined as a property in class 'HyperHTMLElement<{}>', but is overridden here in 'MyComponent' as an accessor." See full description in issue: https://github.com/WebReflection/hyperHTML-Element/issues/77
This is because defaultState is defined as just readonly property when it should be described as getter. Description for 'defaultState' was updated to define it as 'getter'