From 35b1a54a728d9e12e9b74ab73e06c3ad3138ffda Mon Sep 17 00:00:00 2001 From: Andy Edwards Date: Wed, 7 Apr 2021 12:29:27 -0500 Subject: [PATCH] fix: add messageAtPath() flow type def --- src/errorReporting/RuntimeTypeErrorItem.js.flow | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/errorReporting/RuntimeTypeErrorItem.js.flow b/src/errorReporting/RuntimeTypeErrorItem.js.flow index 6c971b9..79b88ac 100644 --- a/src/errorReporting/RuntimeTypeErrorItem.js.flow +++ b/src/errorReporting/RuntimeTypeErrorItem.js.flow @@ -16,4 +16,6 @@ declare export default class RuntimeTypeErrorItem { expectedTypeAtPath: Type, depth?: number ): void; + + messageAtPath(): string; }