2018-05-03 23:00:52 +02:00
|
|
|
// @lib: es5
|
|
|
|
// @noUnusedLocals:true
|
2016-11-02 19:07:33 +01:00
|
|
|
declare var console: { log(msg: any): void; }
|
|
|
|
class Animal {
|
|
|
|
constructor(private species: string) {
|
|
|
|
}
|
|
|
|
|
|
|
|
printSpecies() {
|
|
|
|
let { species } = this;
|
|
|
|
console.log(species);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|