9 lines
151 B
TypeScript
Raw Normal View History

2020-05-24 17:04:37 +02:00
import { Dog } from "./dog";
import { Cat } from "./cat";
const d = new Dog('buster');
const c = new Cat('mittens');
d.make_sound();
c.make_sound();