TypeScript Новый экземпляр интерфейса
const modal = {} as IModal;
or
const modal: IModal = {
content: '',
form: '',
href: '',
$form: null,
$message: null,
$modal: null,
$submits: null
};
Frail Fox