Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
ufocoder committed Jan 30, 2020
1 parent 05501f4 commit 86d8ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function sequenceArray<T, F>(remoteDataArray: Array<RemoteDataResult<T, F
);
}

export function sequenceMap<I, F>(remoteDataMap: RemoteDataResultMap<I, F>): RemoteDataResult<I[], F[]> {
export function sequenceMap<I, F>(remoteDataMap: RemoteDataResultMap<I, F>): RemoteDataResult<I, F[]> {
const keys = Object.keys(remoteDataMap);
const remoteDataArray = Object.values(remoteDataMap) as Array<RemoteDataResult<any>>;

Expand Down

0 comments on commit 86d8ecd

Please sign in to comment.