fix: restore master's test casts mangled by a stale-types eslint --fix
The interrupted pre-commit hook ran eslint --fix while client lib/types were stale, which stripped two deliberate 'as' casts from master's tests; one fails typecheck under exactOptionalPropertyTypes without it. Restore both files to master's content.
This commit is contained in:
@@ -22,7 +22,7 @@ function summary(partial: Partial<SessionSummary> & { id: SessionId }): SessionS
|
||||
running: false,
|
||||
updatedAt: 0,
|
||||
...partial,
|
||||
}
|
||||
} as SessionSummary
|
||||
}
|
||||
|
||||
const sid = (id: string) => id as SessionId
|
||||
|
||||
Reference in New Issue
Block a user