Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abstract class Base {
- abstract name: string;
- abstract get value();
- abstract set value(v: number);
- }
- class Derived extends Base {
- name = "derived";
- value = 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement