Use the official cdns
Your link from the start was wrong (this is very famous js libary - the project still live & update - use the officials cdns)
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.9"></script>