Alert() Replacement in TypeScript, Angular. Answered: Please see the following tutorial: https://code.daypilot.org/60333/using-daypilot-modal-in-angular-application-typescript article-11136-cjavascriptalertopen-sourcemodalhow-to