TS1238: Unable to resolve signature of class decorator when called as an expression. The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. #3
building a new app with @hotwired/stimulus 3.2.1
if I add @vytant/stimulus-decorators 1.1.0
then add @TypedController to above
export default class extends Controller {
typescript complains with
TS1238: Unable to resolve signature of class decorator when called as an expression. The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
building a new app with @hotwired/stimulus 3.2.1 if I add @vytant/stimulus-decorators 1.1.0
then add
@TypedController
to abovetypescript complains with
is this the expected behavior?