build(aio): lint examples
This commit is contained in:

committed by
Matias Niemelä

parent
eb56ab38dc
commit
55b8de9fdd
@ -3,7 +3,7 @@ import { DependentService, FancyService } from './bag';
|
||||
|
||||
///////// Fakes /////////
|
||||
export class FakeFancyService extends FancyService {
|
||||
value: string = 'faked value';
|
||||
value = 'faked value';
|
||||
}
|
||||
////////////////////////
|
||||
// #docregion FancyService
|
||||
|
@ -677,5 +677,5 @@ class FakeGrandchildComponent { }
|
||||
|
||||
@Injectable()
|
||||
class FakeFancyService extends FancyService {
|
||||
value: string = 'faked value';
|
||||
value = 'faked value';
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ export class Hero {
|
||||
// #docregion FancyService
|
||||
@Injectable()
|
||||
export class FancyService {
|
||||
protected value: string = 'real value';
|
||||
protected value = 'real value';
|
||||
|
||||
getValue() { return this.value; }
|
||||
setValue(value: string) { this.value = value; }
|
||||
|
@ -1,7 +1,7 @@
|
||||
// #docregion
|
||||
import { Hero } from './hero';
|
||||
|
||||
export var HEROES: Hero[] = [
|
||||
export const HEROES: Hero[] = [
|
||||
new Hero(11, 'Mr. Nice'),
|
||||
new Hero(12, 'Narco'),
|
||||
new Hero(13, 'Bombasto'),
|
||||
|
@ -5,7 +5,7 @@ export { HeroService } from '../hero.service';
|
||||
import { Hero } from '../hero';
|
||||
import { HeroService } from '../hero.service';
|
||||
|
||||
export var HEROES: Hero[] = [
|
||||
export const HEROES: Hero[] = [
|
||||
new Hero(41, 'Bob'),
|
||||
new Hero(42, 'Carol'),
|
||||
new Hero(43, 'Ted'),
|
||||
|
Reference in New Issue
Block a user