We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5ec64b commit f820438Copy full SHA for f820438
src/utilities/types.ts
@@ -19,8 +19,8 @@ export type PresenceMember = {
19
};
20
} & Omit<Types.PresenceMessage, 'data'>;
21
22
-export type Subset<K> = {
23
- [attr in keyof K]?: K[attr] extends object ? Subset<K[attr]> : K[attr];
+export type Subset<T> = {
+ [attr in keyof T]?: T[attr] extends object ? Subset<T[attr]> : T[attr];
24
25
26
export type RealtimeMessage = Omit<Types.Message, 'connectionId'> & {
0 commit comments