store arguments are optional

This commit is contained in:
Philip Bjorge committed 2016-01-20 14:13:25 -08:00
1 parent d4ffe15f64
commit b878ea9747
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ declare module angular.idle {
* If overwrite is false or unspecified, updates the "original" title with the current document title
* if it has not already been stored. If overwrite is true, the current document title is stored regardless.
*/
store(overwrite: boolean): void;
store(overwrite?: boolean): void;
/**
* Sets the title to the original value (if it was stored or set previously).