TypeScript Nowa instancja interfejsu

const modal = {} as IModal;
 or
const modal: IModal = {
    content: '',
    form: '',
    href: '',
    $form: null,
    $message: null,
    $modal: null,
    $submits: null
};
Frail Fox