|
@@ -0,0 +1,16 @@
|
|
|
+class Developer {
|
|
|
+ department: string;
|
|
|
+ private _title: string;
|
|
|
+
|
|
|
+ get title(): string {
|
|
|
+ return this._title;
|
|
|
+ }
|
|
|
+
|
|
|
+ set title(title: string) {
|
|
|
+ this._title = title.toUpperCase();
|
|
|
+ }
|
|
|
+
|
|
|
+ documentRequirements(requirements: string): void {
|
|
|
+ console.log(requirements);
|
|
|
+ }
|
|
|
+}
|