Skip to content

Commit f89f202

Browse files
authored
test(client-presence): small cleanup (#24428)
- comment lint disable - remove unneeded generic constraint
1 parent 3695437 commit f89f202

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/framework/presence/src/test/latestValueManager.spec.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { StateFactory } from "@fluidframework/presence/alpha";
1919

2020
const testWorkspaceName = "name:testWorkspaceA";
2121

22-
/* eslint-disable unicorn/no-null */
22+
/* eslint-disable unicorn/no-null -- API null support must be tested */
2323

2424
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
2525
function createLatestManager(
@@ -155,9 +155,10 @@ export function checkCompiles(): void {
155155
// @ts-expect-error local may be set wholly, but partially it is readonly
156156
workspace.props.caret.local.pos = 0;
157157

158-
function logClientValue<
159-
T /* following extends should not be required: */ extends Record<string, unknown>,
160-
>({ attendee, value }: Pick<LatestClientData<T>, "attendee" | "value">): void {
158+
function logClientValue<T>({
159+
attendee,
160+
value,
161+
}: Pick<LatestClientData<T>, "attendee" | "value">): void {
161162
console.log(attendee.attendeeId, value);
162163
}
163164

0 commit comments

Comments
 (0)