Skip to content

session.options() type is missing from FastifySessionObject in types.d.ts #279

@CamParry

Description

@CamParry

Prerequisites

  • I have written a descriptive issue title
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions