File tree 1 file changed +5
-4
lines changed
packages/framework/presence/src/test
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { StateFactory } from "@fluidframework/presence/alpha";
19
19
20
20
const testWorkspaceName = "name:testWorkspaceA" ;
21
21
22
- /* eslint-disable unicorn/no-null */
22
+ /* eslint-disable unicorn/no-null -- API null support must be tested */
23
23
24
24
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
25
25
function createLatestManager (
@@ -155,9 +155,10 @@ export function checkCompiles(): void {
155
155
// @ts -expect-error local may be set wholly, but partially it is readonly
156
156
workspace . props . caret . local . pos = 0 ;
157
157
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 {
161
162
console . log ( attendee . attendeeId , value ) ;
162
163
}
163
164
You can’t perform that action at this time.
0 commit comments