Setting the value also requires the generic type

This commit is contained in:
Maik
2015-01-05 12:43:08 +01:00
parent 9ec8c66f84
commit 52723e8f85
+1 -1
View File
@@ -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.