I need to set this property:
but this property was from external npm module written with typescript, launchParams requires a Record<string,string> type. my question is what is the exact way and the exact data to pass to set the value of launchParams ?
I tried to set launchParams with this:
launchParams: {"homeurl" : "https://localhost"}
but it seems it doens't work. launchParams is still undefined.

Assuming you meant to type 'launchParams:' and not 'lunchParams', then the problem looks like you are defining the type of launchParams and not assigning a value to it. Try
If that doesn't work you need to give more details, preferably a working example on Stackblitz that shows the problem.