Target of teleport is you, not your destination. Same with misty step, you are the target and you can teleport anywhere you can see within 30 ft ... even if it's behind a window or wall of force.
I'm not here to argue, just to point out a rule I do not like because I am capricious and peeved. Listen to the podcast I linked in my first post. The logic I am presenting comes from none other than Jeremy Crawford himself. Take it up with him.