Skip to content

Commit

Permalink
fix: remove unnecessary type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
star0202 committed May 21, 2023
1 parent 3bc3ba3 commit be308cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,6 @@ export class NeisRequest {
throw err
}

return Object.values((Object.values(data) as object[][])[0][1])[0] as T[]
return Object.values((Object.values(data) as object[][])[0][1])[0]
}
}

0 comments on commit be308cd

Please sign in to comment.