We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meteor.connection is not included in Meteor typing
Meteor.connection
client/imports/frontpage/frontpage.component.ts (103, 46): Property 'connection' does not exist on type 'typeof Meteor'.
Using [email protected]
[email protected]
The text was updated successfully, but these errors were encountered:
import { Meteor } from 'meteor/meteor'; const Messages = new Meteor.Collection('messages');
Meteor.startup(() => { // code to run on server at startup });
Meteor.publish('messages', () => Messages.find());
Error: server/main.ts (2, 29): Property 'Collection' does not exist on type 'typeof Meteor'.
Sorry, something went wrong.
still valid. Workarround:
Meteor['connection'].setUserId(userName)
still valid workaround in 2021
No branches or pull requests
Meteor.connection
is not included in Meteor typingUsing
[email protected]
The text was updated successfully, but these errors were encountered: