Correct the Angular Material IToastService updateContent typings (#11305)

This commit is contained in:
Mitchell Wills
2016-09-19 16:19:32 +09:00
committed by Masahiro Wakame
parent 4fd81af1e8
commit 1ce244c131
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -177,7 +177,8 @@ declare namespace angular.material {
showSimple(content: string): angular.IPromise<any>;
simple(): ISimpleToastPreset;
build(): IToastPreset<any>;
updateContent(): void;
updateContent(newContent: string): void;
updateTextContent(newContent: string): void
hide(response?: any): void;
cancel(response?: any): void;
}