fix return type for flash

This commit is contained in:
Simon Schick
2018-02-17 21:42:28 +01:00
parent 4678a1b1a3
commit 53f90b5a96

View File

@@ -147,7 +147,7 @@ declare namespace yar {
* any existing value instead of being appended to it (defaults to false).
*/
flash(type: string): any[];
flash(type: string, message: any, isOverride?: boolean): void;
flash(type: string, message: any, isOverride?: boolean): any[];
/**
* if set to 'true', enables lazy mode.