16 lines
389 B
JavaScript
16 lines
389 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.WeatherLocation = void 0;
|
|
class WeatherLocation {
|
|
weather;
|
|
city;
|
|
constructor(weather, city) {
|
|
this.weather = weather;
|
|
this.city = city;
|
|
}
|
|
get weatherMessage() {
|
|
return `It is ${this.weather} in ${this.city}`;
|
|
}
|
|
}
|
|
exports.WeatherLocation = WeatherLocation;
|