We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d193b commit add4defCopy full SHA for add4def
1 file changed
src/index.ts
@@ -87,8 +87,8 @@ export interface ParseOptions {
87
*
88
* The default function is the global `decodeURIComponent`, wrapped in a `try..catch`. If an error
89
* is thrown it will return the cookie's original value. If you provide your own encode/decode
90
- * scheme you must ensure errors are appropriately handled.
91
- * Returning `undefined` will skip the value so a later duplicate can be used.
+ * scheme you must ensure errors are appropriately handled. Custom decode functions can return `undefined`,
+ * which will skip the cookie during `parse` and try again with a future cookie of the same name.
92
93
* @default decode
94
*/
0 commit comments