You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the bug has not already been reported
Fastify version
5.1.0
Plugin version
11.0.1
Node.js version
20.11.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
14.6.1
Description
I noticed that the session.options() method on line 59 of session.js is missing a type definition on the FastifySessionObject interface in the types.d.ts file, is this something that could be added? I'm happy to submit a PR if need be.
Link to code that reproduces the bug
No response
Expected Behavior
session.options() method should be correctly typed
The text was updated successfully, but these errors were encountered:
Also, I'm not sure if the correct type should be options(opts: Partial<Fastify.Session['cookie']>): void or options(opts: Partial<CookieOptions>): void?
Prerequisites
Fastify version
5.1.0
Plugin version
11.0.1
Node.js version
20.11.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
14.6.1
Description
I noticed that the session.options() method on line 59 of session.js is missing a type definition on the FastifySessionObject interface in the types.d.ts file, is this something that could be added? I'm happy to submit a PR if need be.
Link to code that reproduces the bug
No response
Expected Behavior
session.options() method should be correctly typed
The text was updated successfully, but these errors were encountered: