fastify / fastify/session

Typescript types for SessionStore Promise based API support

Open
#237 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
130
Forks
58
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the feature has not already been requested

### 🚀 Feature Proposal

In #78 the SessionStore was upgraded to support both callback and Promise based API. However this is not reflected in the current typescript types. I propose that the typescript types are updated to reflect the changes in #78.

### Motivation

Typescript users could use Promise.

### Example

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.