@provide({ context: someContext })
@state()
private _someData = 0
I read in the documentation that it is possible however when doing so, I get that typescript compiler error :
error TS2345: Argument of type 'MyComponent' is not assignable to parameter of type 'ReactiveElement & Record<"_someData", number>'.
Type 'MyComponent' is not assignable to type 'Record<"_someData", number>'.
Property '_someData' is private in type 'MyComponent' but not in type 'Record<"_someData", number>'.
89 @provide({ context: someContext })