I have defined an interface like this:
interface IModal { content: string; form: string; href: string; $form: JQuery; $message: JQuery;
Since I haven't found an equal answer in the top and my answer is different. I do:
modal: IModal = {}