Skip to content

Commit 3a66a08

Browse files
committed
style: check:fix
1 parent fa5dea0 commit 3a66a08

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

package.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"type": "module",
33
"name": "@otterhttp/session",
44
"description": "Simple promise-based session utility for otterhttp",
5-
"keywords": [
6-
"otterhttp",
7-
"session",
8-
"promise"
9-
],
5+
"keywords": ["otterhttp", "session", "promise"],
106
"main": "./dist/index.js",
117
"exports": {
128
".": {
@@ -17,10 +13,7 @@
1713
}
1814
},
1915
"types": "./dist/session.d.ts",
20-
"files": [
21-
"dist",
22-
"licenses"
23-
],
16+
"files": ["dist", "licenses"],
2417
"sideEffects": false,
2518
"scripts": {
2619
"build": "tsup",

src/types.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ type Cookie = {
3333
)
3434

3535
type SetCookieOptions = SerializeOptions & {
36-
/**
37-
* `otterhttp` cookie `sign` function, will be passed to `res.cookie`.
38-
* @default undefined
39-
*/
40-
sign?: ((value: string) => string) | null | undefined
36+
/**
37+
* `otterhttp` cookie `sign` function, will be passed to `res.cookie`.
38+
* @default undefined
39+
*/
40+
sign?: ((value: string) => string) | null | undefined
4141
}
4242

4343
export interface SessionStore {

0 commit comments

Comments
 (0)