Skip to content

Commit

Permalink
feat(errors): enable TS strict compiler flags (refactor)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jun 4, 2019
1 parent 29e0cb4 commit 8460aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/errors/src/illegal-arity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export class IllegalArityError extends Error {
}
}

export const illegalArity = (n): never => {
export const illegalArity = (n: number): never => {
throw new IllegalArityError(n);
};

0 comments on commit 8460aea

Please sign in to comment.