Skip to content
This repository was archived by the owner on Sep 21, 2018. It is now read-only.

Commit c710d5f

Browse files
committed
chore(tslint): Update tslint file & fix lint errors
1 parent 7a3142e commit c710d5f

25 files changed

+99
-46
lines changed

src/app/actions/layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ export class CloseSidenavAction implements Action {
1818

1919
export type Actions
2020
= OpenSidenavAction
21-
| CloseSidenavAction;
21+
| CloseSidenavAction;

src/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ import { schema } from './db';
9696
AppComponent
9797
]
9898
})
99-
export class AppModule { }
99+
export class AppModule { }

src/app/components/book-authors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ export class BookAuthorsComponent {
2323
get authors() {
2424
return this.book.volumeInfo.authors;
2525
}
26-
}
26+
}

src/app/components/book-search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import { Component, Output, Input, EventEmitter } from '@angular/core';
4747
`]
4848
})
4949
export class BookSearchComponent {
50-
@Input() query: string = '';
50+
@Input() query = '';
5151
@Input() searching = false;
5252
@Output() search = new EventEmitter<string>();
5353
}

src/app/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ export const COMPONENTS = [
4141
declarations: COMPONENTS,
4242
exports: COMPONENTS
4343
})
44-
export class ComponentsModule { }
44+
export class ComponentsModule { }

src/app/components/layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ import { Component } from '@angular/core';
2121
}
2222
`]
2323
})
24-
export class LayoutComponent { }
24+
export class LayoutComponent { }

src/app/components/nav-item.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import { Component, Input, Output, EventEmitter } from '@angular/core';
1717
`]
1818
})
1919
export class NavItemComponent {
20-
@Input() icon: string = '';
21-
@Input() hint: string = '';
20+
@Input() icon = '';
21+
@Input() hint = '';
2222
@Input() routerLink: string | any[] = '/';
2323
@Output() activate = new EventEmitter();
24-
}
24+
}

src/app/components/sidenav.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ import { Component, Input } from '@angular/core';
1717
})
1818
export class SidenavComponent {
1919
@Input() open = false;
20-
}
20+
}

src/app/components/toolbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ import { Component, Output, EventEmitter } from '@angular/core';
1414
})
1515
export class ToolbarComponent {
1616
@Output() openMenu = new EventEmitter();
17-
}
17+
}

src/app/containers/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as layout from '../actions/layout';
88

99

1010
@Component({
11-
selector: 'book-collection-app',
11+
selector: 'bc-app',
1212
changeDetection: ChangeDetectionStrategy.OnPush,
1313
template: `
1414
<bc-layout>

0 commit comments

Comments
 (0)