mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Setting the value also requires the generic type
This commit is contained in:
1 parent
9ec8c66f84
commit
52723e8f85
1 file changed
+1
-1
+1
-1
@@ -92,7 +92,7 @@ declare module ng.local.storage {
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
set(key: string, value: string): boolean;
|
||||
set(key: string, value: T): boolean;
|
||||
/**
|
||||
* Directly get a value from local storage.
|
||||
* If local storage is not supported, use cookies instead.
|
||||
|
||||
Reference in new issue
Block a user