diff --git a/meteor/README.md b/meteor/README.md index a040b5e6a..16a58f423 100644 --- a/meteor/README.md +++ b/meteor/README.md @@ -46,7 +46,7 @@ After you create this file, you may access the Template variable by declaring so ##Defining Collections -In TypeScript, creating global variables is not allowed, and in a Meteor app, creating local variables (using `var `) limits variables' scope to the file. However, you will probably want to define variables, such as collections, that can be used across files. In the case of collections, one way to work around these limitations is to wrap each collection within a module, and then make the module globally accessible. Here is an example using posts.ts: +In TypeScript, global variables are not allowed, and in a Meteor app, creating a local variable (using `var `) limits a variable's scope to the file. However, you will probably want to define variables, such as collections, that can be used across files. In the case of collections, one way to work around these limitations is to wrap each collection within a module, and then make the module globally accessible. Here is an example using posts.ts: module PostsModel { export var Posts = new Meteor.Collection('posts'); @@ -60,7 +60,7 @@ You can then access the Posts collection by placing `///