Skip to content

Commit

Permalink
Update message to an optional type
Browse files Browse the repository at this point in the history
  • Loading branch information
mattphillips committed Sep 29, 2018
1 parent 7b73d44 commit eb2c1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-util/src/error_with_stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

export default class ErrorWithStack extends Error {
constructor(message: string, callsite: Function) {
constructor(message: ?string, callsite: Function) {
super(message);
if (Error.captureStackTrace) {
Error.captureStackTrace(this, callsite);
Expand Down

0 comments on commit eb2c1f6

Please sign in to comment.