From a282ba5b844fa808d77a09edd1c412eaf25ae376 Mon Sep 17 00:00:00 2001 From: Simon Schick Date: Sat, 17 Feb 2018 22:10:28 +0100 Subject: [PATCH] merge overloads --- types/yar/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/yar/index.d.ts b/types/yar/index.d.ts index db32834288..678d3e49a9 100644 --- a/types/yar/index.d.ts +++ b/types/yar/index.d.ts @@ -146,8 +146,7 @@ declare namespace yar { * 'isOverride' used to indicate that the message provided should replace * any existing value instead of being appended to it (defaults to false). */ - flash(type: string): any[]; - flash(type: string, message: any, isOverride?: boolean): any[]; + flash(type: string, message?: any, isOverride?: boolean): any[]; /** * if set to 'true', enables lazy mode.