This is a simple Vector class in typescript. If there is any calculation you might want to do with vectors, this class has a method for it that will do the math for you. Each method will return a new instance of the Vector.
This Vector class can have any number of components, but most methods only make sense for 2D or 3D vector operations.
I'll add a list of all the available methods here soon ;)