Type safety in a Meteor app starts with your collections. Pass an interface as a generic to Mongo.Collection, and every insert, update, and query gets checked against it.
Insert a document with a missing field or wrong type, and the error shows up in your editor, not in prod.