mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
merge overloads
This commit is contained in:
3
types/yar/index.d.ts
vendored
3
types/yar/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user