mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
store arguments are optional
This commit is contained in:
parent
d4ffe15f64
commit
b878ea9747
@ -44,6 +44,7 @@ angular.module('app', ['ngIdle'])
|
||||
Title.original(Title.original());
|
||||
Title.value(Title.value());
|
||||
Title.store(false);
|
||||
Title.store();
|
||||
Title.restore();
|
||||
Title.idleMessage(Title.idleMessage());
|
||||
Title.timedOutMessage(Title.timedOutMessage());
|
||||
|
||||
2
angular-idle/angular-idle.d.ts
vendored
2
angular-idle/angular-idle.d.ts
vendored
@ -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).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user