Open bwindels opened 3 years ago
Hello! I'm new to contributing to matrix...is this issue active? I'd like to contribute to it. Also just for confirmation, we need to migrate files from javascript to typescript right? :sweat_smile:
Hey @shubhangi013! Thanks for your offer, feel free to join #hydrogen-web:matrix.org to coordinate dev work.
Hey @shubhangi013! Thanks for your offer, feel free to join #hydrogen-web:matrix.org to coordinate dev work.
Thankyou! so should I claim a folder/file to migrate to TS? :sweat_smile:
I was trying to write a new viewmodel and view in typescript and ran into these problems:
ViewModel
, it gives an error saying it is not a valid attribute object:
Argument of type '(vm: IViewModel) => string' is not assignable to parameter of type 'Child | Child[] | Attributes<IViewModel> | undefined'.
Type '(vm: IViewModel) => string' is not assignable to type 'Attributes<IViewModel>'.
Index signature for type 'string' is missing in type '(vm: IViewModel) => string'.
interface IViewModel
Platform
and add needed stuff in each step below