@@ -132,7 +132,7 @@ export default Hello;
132132// helpers
133133
134134function getExclamationMarks(numChars : number ) {
135- return Array (numChars ).join (" ! " );
135+ return Array (numChars ).join (' ! ' );
136136}
137137```
138138
@@ -403,8 +403,8 @@ Its function will be to ensure that increments raise the enthusiasm level by 1,
403403// src/reducers/index.tsx
404404
405405import { EnthusiasmAction } from ' ../actions' ;
406- import { StoreState } from " ../types/index" ;
407- import { INCREMENT_ENTHUSIASM , DECREMENT_ENTHUSIASM } from " ../constants/index" ;
406+ import { StoreState } from ' ../types/index' ;
407+ import { INCREMENT_ENTHUSIASM , DECREMENT_ENTHUSIASM } from ' ../constants/index' ;
408408
409409export function enthusiasm(state : StoreState , action : EnthusiasmAction ): StoreState {
410410 switch (action .type ) {
@@ -551,12 +551,12 @@ To put this all together, we need to create a store with an initial state, and s
551551
552552``` ts
553553import { createStore } from ' redux' ;
554- import { enthusiasm } from " ./reducers/index" ;
555- import { StoreState } from " ./types/index" ;
554+ import { enthusiasm } from ' ./reducers/index' ;
555+ import { StoreState } from ' ./types/index' ;
556556
557557const store = createStore <StoreState >(enthusiasm , {
558558 enthusiasmLevel: 1 ,
559- languageName: " TypeScript" ,
559+ languageName: ' TypeScript' ,
560560});
561561```
562562
0 commit comments