Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/star0202/neis.ts into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
star0202 committed May 3, 2023
2 parents 257df26 + 35c056b commit 55c133e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ export class Neis extends NeisRequest {
}
}

const firstOf = <T>(promise: Promise<Array<T>>) => promise.then((res) => res[0])
const firstOf = <T>(promise: Promise<T[]>) => promise.then((res) => res[0])

0 comments on commit 55c133e

Please sign in to comment.