File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -304,12 +304,6 @@ interface Random {
304
304
305
305
declare var Random :Random ;
306
306
307
- // TEMPLATE ----------
308
-
309
- interface ITemplate {
310
- [ id :string ] :ITemplate ;
311
- }
312
- declare var Template :Meteor . Template ;
313
307
314
308
// METEOR --------------
315
309
@@ -390,7 +384,6 @@ declare module Meteor {
390
384
391
385
}
392
386
393
- // interface Collection implements Collection {
394
387
class Collection < T > {
395
388
396
389
constructor ( name :string , options ?:CollectionOptions ) ;
@@ -414,6 +407,7 @@ declare module Meteor {
414
407
415
408
//Meteor.publish("counts-by-room", function (roomId) {
416
409
// foo: function () {
410
+ // // until TS provides a way to hook this:any
417
411
// var self:meteor.IPublishHandler = <meteor.IPublishHandler>this;
418
412
// console.log(self.userId);
419
413
// self.error(new Meteor.Error(123, "bug", "details"));
@@ -482,6 +476,11 @@ declare module Meteor {
482
476
}
483
477
484
478
// TEMPLATE ------
479
+
480
+ interface TemplateDico {
481
+ [ id :string ] :Template ;
482
+ }
483
+
485
484
interface Template {
486
485
rendered :Function ;
487
486
created :Function ;
@@ -541,3 +540,8 @@ declare module Meteor {
541
540
542
541
}
543
542
}
543
+
544
+ // TEMPLATE ----------
545
+
546
+ declare var Template :Meteor . TemplateDico ;
547
+
You can’t perform that action at this time.
0 commit comments