PEP-225: тип в тесте
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
33a830fe07
commit
98ce49abaf
@ -16,7 +16,7 @@ const user = (login: string) => core.upsertUserFromGitea(db, { id: 9100 + seq++,
|
||||
type Msg = Record<string, unknown> & { t: string };
|
||||
|
||||
/** A connection driven directly: what the server sent and how it closed. */
|
||||
function conn(u: core.User) {
|
||||
function conn(u: import("@peppa/core").User) {
|
||||
const out: Msg[] = [];
|
||||
const closed: Array<{ code: number; reason: string }> = [];
|
||||
const c = new LiveConnection(db, u, (m) => out.push(m as Msg), (code, reason) => closed.push({ code, reason }));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user