mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Merge pull request #13766 from pchaussalet/master
Fix appendHash property type in hasher
This commit is contained in:
@@ -11,4 +11,6 @@ hasher.init(); //initialize hasher (start listening for history changes)
|
||||
|
||||
hasher.setHash('foo'); //change hash value (generates new history record)
|
||||
|
||||
hasher.appendHash = '?test=true';
|
||||
|
||||
hasher.prependHash = '!'; //default value is "/"
|
||||
|
||||
Vendored
+1
-1
@@ -13,7 +13,7 @@ declare namespace HasherJs {
|
||||
|
||||
// {string} hasher.appendHash
|
||||
// String that should always be added to the end of Hash value.
|
||||
appendHash(): string;
|
||||
appendHash: string;
|
||||
|
||||
// default value: '';
|
||||
// will be automatically removed from `hasher.getHash()`
|
||||
|
||||
Reference in New Issue
Block a user