Skip to content

Instantly share code, notes, and snippets.

class Point3D extends Point2D {
z: Number;
constructor(x: Number, y: Number, z: Number) {
super(x, y);
this.z = z;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment