1 2
const element: HTMLElement = document.querySelector('#external-script'); element.textContent = `This was loaded externally`;