@@ -204,13 +204,13 @@ type CurrentDisplayState = {
204204}& CurrentDisplay &
205205CurrentRepo
206206
207- let initialState: CurrentDisplayState = {
207+ let initialState= {
208208 org:' rails' ,
209209 repo:' rails' ,
210210 page:1 ,
211211 displayType:' issues' ,
212212 issueId:null
213- }
213+ }as CurrentDisplayState
214214
215215const issuesDisplaySlice= createSlice ({
216216 name:' issuesDisplay' ,
@@ -575,10 +575,10 @@ interface RepoDetailsState {
575575 error: string | null
576576}
577577
578- const initialState: RepoDetailsState = {
578+ const initialState= {
579579 openIssuesCount:- 1 ,
580580 error:null
581- }
581+ }as RepoDetailsState
582582
583583const repoDetails= createSlice ({
584584 name:' repoDetails' ,
@@ -761,14 +761,14 @@ interface IssuesState {
761761 error: string | null
762762}
763763
764- const issuesInitialState: IssuesState = {
764+ const issuesInitialState= {
765765 issuesByNumber: {},
766766 currentPageIssues: [],
767767 pageCount:0 ,
768768 pageLinks: {},
769769 isLoading:false ,
770770 error:null
771- }
771+ }as IssuesState
772772
773773function startLoading(state : IssuesState ) {
774774state .isLoading = true
@@ -1082,11 +1082,11 @@ interface CommentLoaded {
10821082 comments: Comment []
10831083}
10841084
1085- const initialState: CommentsState = {
1085+ const initialState= {
10861086 commentsByIssue: {},
10871087 loading:false ,
10881088 error:null
1089- }
1089+ }as CommentsState
10901090
10911091const comments= createSlice ({
10921092 name:' comments' ,