@@ -62,7 +62,7 @@ import {Injectable, InjectionToken, Injector, Optional, ReflectiveInjector} from
62
62
}
63
63
64
64
class Square extends Shape {
65
- name = 'square' ;
65
+ override name = 'square' ;
66
66
}
67
67
68
68
const injector = ReflectiveInjector . resolveAndCreate ( [ { provide : Shape , useClass : Square } ] ) ;
@@ -80,7 +80,7 @@ import {Injectable, InjectionToken, Injector, Optional, ReflectiveInjector} from
80
80
}
81
81
82
82
class FormalGreeting extends Greeting {
83
- salutation = 'Greetings' ;
83
+ override salutation = 'Greetings' ;
84
84
}
85
85
86
86
const injector = ReflectiveInjector . resolveAndCreate (
@@ -101,7 +101,7 @@ import {Injectable, InjectionToken, Injector, Optional, ReflectiveInjector} from
101
101
}
102
102
103
103
class Square extends Shape {
104
- name = 'square' ;
104
+ override name = 'square' ;
105
105
}
106
106
107
107
const injector =
@@ -120,7 +120,7 @@ import {Injectable, InjectionToken, Injector, Optional, ReflectiveInjector} from
120
120
}
121
121
122
122
class FormalGreeting extends Greeting {
123
- salutation = 'Greetings' ;
123
+ override salutation = 'Greetings' ;
124
124
}
125
125
126
126
const injector = Injector . create ( {
@@ -161,7 +161,7 @@ import {Injectable, InjectionToken, Injector, Optional, ReflectiveInjector} from
161
161
}
162
162
163
163
class FormalGreeting extends Greeting {
164
- salutation = 'Greetings' ;
164
+ override salutation = 'Greetings' ;
165
165
}
166
166
167
167
const injector = Injector . create ( {
0 commit comments