delete

Bun

Symbol

CookieMap.delete

delete(name: string): void

Removes a cookie from the map.

@param name

The name of the cookie to delete

Removes a cookie from the map.

@param options

The options for the cookie to delete

delete(name: string, options: Omit<CookieStoreDeleteOptions, 'name'>): void

Removes a cookie from the map.

@param name

The name of the cookie to delete

@param options

The options for the cookie to delete

Referenced types

interface CookieStoreDeleteOptions