Just putting the typed.js file in your resources will automatically place the code in the head. you do not need to put it there yourself.
Notice this line in grey text in your head, thats the file ref placed there by hype.
You can remove your line of code referring to the same file.
Apart from that what is the actual issue you are gettingre