Skip to content

Commit

Permalink
chore: imported Meteor.users not compatible with global Meteor.users …
Browse files Browse the repository at this point in the history
…type
  • Loading branch information
aleksandernsilva committed Sep 13, 2024
1 parent cee11c0 commit 63e1b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/models/client/models/Users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Object.assign(Meteor.users, {
});

/** @deprecated new code refer to Minimongo collections like this one; prefer fetching data from the REST API, listening to changes via streamer events, and storing the state in a Tanstack Query */
export const Users = Meteor.users as UsersCollection;
export const Users = Meteor.users as unknown as UsersCollection;

0 comments on commit 63e1b8b

Please sign in to comment.