mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Support converter option
My bad, the pull request https://github.com/borisyankov/DefinitelyTyped/pull/3449 was not correct. When the converter is specified it is used for converting the cookie value.
This commit is contained in:
Vendored
+1
-2
@@ -19,10 +19,9 @@ interface JQueryCookieStatic {
|
||||
|
||||
(): {[key:string]:string};
|
||||
(name: string): any;
|
||||
(name: string, converter: (value: string) => any): any;
|
||||
(name: string, value: string): void;
|
||||
(name: string, value: string, options: JQueryCookieOptions): void;
|
||||
(name: string, converter: (value: string) => any): void;
|
||||
(name: string, converter: (value: string) => any, options: JQueryCookieOptions): void;
|
||||
(name: string, value: any): void;
|
||||
(name: string, value: any, options: JQueryCookieOptions): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user