typescript declare that an interface method returns it's class code example
Example: typescript new instance of interface
const modal = {} as IModal;
or
const modal: IModal = {
content: '',
form: '',
href: '',
$form: null,
$message: null,
$modal: null,
$submits: null
};