forked from withastro/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(api-reference): update Astro.cookies types
* Fix inaccurate types for Astro.cookies `get` and `set` methods * Add missing `merge` method for Astro.cookies (the `AstroCookies` return type could miss some documentation) * Fix inaccurate type for AstroCookie `value` I did not updated the name of the options types, but all of them should be prefixed with `Astro`. I don't know if this is deliberate or an oversight during an update. See: `packages/astro/src/core/cookies/cookies.ts`
- Loading branch information
1 parent
00b1afd
commit b607be5
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters