daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Circle extends Shape {
  2. private radius: number;
  3. color: string;
  4.  
  5. constructor(shape) {
  6.     super(shape);
  7.     if (shape.type = circle)
  8.     this.radius = shape.radius;
  9.     this.color = shape.color;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top