How to properly type the `mergeProps` with Typescript? - SolidJS