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

Commit 75f4995

Browse files
committed
fix(tslint): Fix TS linter errors
1 parent 374321c commit 75f4995

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/app/actions/book.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { type } from '../util';
55
/**
66
* For each action type in an action group, make a simple
77
* enum object for all of this group's action types.
8-
*
8+
*
99
* The 'type' utility function coerces strings into string
1010
* literal types and runs a simple check to guarantee all
11-
* action types in the application are unique.
11+
* action types in the application are unique.
1212
*/
1313
export const ActionTypes = {
1414
SEARCH: type('[Book] Search'),
@@ -20,9 +20,9 @@ export const ActionTypes = {
2020

2121
/**
2222
* Every action is comprised of at least a type and an optional
23-
* payload. Expressing actions as classes enables powerful
23+
* payload. Expressing actions as classes enables powerful
2424
* type checking in reducer functions.
25-
*
25+
*
2626
* See Discriminated Unions: https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions
2727
*/
2828
export class SearchAction implements Action {

src/app/app.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ import { schema } from './db';
5757
* Store devtools instrument the store retaining past versions of state
5858
* and recalculating new states. This enables powerful time-travel
5959
* debugging.
60-
*
60+
*
6161
* To use the debugger, install the Redux Devtools extension for either
6262
* Chrome or Firefox
63-
*
63+
*
6464
* See: https://github.com/zalmoxisus/redux-devtools-extension
6565
*/
6666
StoreDevtoolsModule.instrumentOnlyWithExtension(),

src/app/containers/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class AppComponent {
4343
/**
4444
* All state updates are handled through dispatched actions in 'container'
4545
* components. This provides a clear, reproducible history of state
46-
* updates and user interaction through the life of our
46+
* updates and user interaction through the life of our
4747
* application.
4848
*/
4949
this.store.dispatch(new layout.CloseSidenavAction());

src/app/containers/collection-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { Book } from '../models/book';
2020
/**
2121
* Container components are permitted to have just enough styles
2222
* to bring the view together. If the number of styles grow,
23-
* consider breaking them out into presentational
23+
* consider breaking them out into presentational
2424
* components.
2525
*/
2626
styles: [`

src/app/effects/collection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class CollectionEffects {
2424
* This effect does not yield any actions back to the store. Set
2525
* `dispatch` to false to hint to @ngrx/effects that it should
2626
* ignore any elements of this effect stream.
27-
*
27+
*
2828
* The `defer` observable accepts an observable factory function
2929
* that is called when the observable is subscribed to.
3030
* Wrapping the database open call in `defer` makes

src/app/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This function coerces a string into a string literal type.
33
* Using tagged union types in TypeScript 2.0, this enables
44
* powerful typechecking of our reducers.
5-
*
5+
*
66
* Since every action label passes through this function it
77
* is a good place to ensure all of our action labels
88
* are unique.

0 commit comments

Comments
 (0)