store arguments are optional

This commit is contained in:
Philip Bjorge
2016-01-20 14:13:25 -08:00
parent d4ffe15f64
commit b878ea9747
2 changed files with 2 additions and 1 deletions
+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).