Skip to content

Commit 9c28652

Browse files
committed
chore: just use ServerSession type
1 parent a5a8685 commit 9c28652

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sessions.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -970,9 +970,7 @@ export class ServerSession {
970970
isDirty: boolean;
971971

972972
/** @internal */
973-
constructor(
974-
cloned?: { id: ServerSessionId; lastUse: number; txnNumber: number; isDirty: boolean } | null
975-
) {
973+
constructor(cloned?: ServerSession | null) {
976974
if (cloned != null) {
977975
const idBytes = Buffer.allocUnsafe(16);
978976
idBytes.set(cloned.id.id.buffer);

0 commit comments

Comments
 (0)