My TypeScript code currently relies on the Position
interface from lib.dom.d.ts
.
As I transition to TS 4.1, I've noticed that the definition of Position
has been eliminated.
What would be the appropriate replacement for this in the updated version?