Skip to content

Commit

Permalink
Update packages/dds/shared-object-base/src/sharedObject.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Craig Macomber (Microsoft) <[email protected]>
  • Loading branch information
Abe27342 and CraigMacomber authored Jul 16, 2024
1 parent 54f8b1e commit 4c97f7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dds/shared-object-base/src/sharedObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -910,5 +910,6 @@ export function createSharedObjectKind<TSharedObject>(
}

function isChannel(loadable: IFluidLoadable): loadable is IChannel {
// This assumes no other IFluidLoadable has an `attributes` field, and thus may not be fully robust.
return (loadable as IChannel).attributes !== undefined;
}

0 comments on commit 4c97f7c

Please sign in to comment.