Ionic Serve Typescript Error

I have been working with Ionic and Meteor on one of my projects and everything worked fine until several days ago when I updated the ionic Cli along with macOS Sierra, I tried re-installing the operating system and running the latest version of the tutorial that I started the application from and still am having the same issue, I feel like I’m probably missing something simple but would greatly appreciate if someone could help me out I’m getting these errors after running ionic serve

[00:38:18] typescript: api/server/collections/chats.ts, line: 9
Property ‘remove’ does not exist on type ‘Collection’.

   L8:  Chats.collection.after.remove(function (userId, doc) {
   L9:    Messages.collection.remove({ chatId: doc._id });
  L10:  });

[00:38:18] typescript: api/server/collections/users.ts, line: 14
Property ‘remove’ does not exist on type ‘Collection’.

  L14:    Pictures.collection.remove({ _id: this.previous.profile.pictureId });
  L15:  }, { fetchPrevious: true });

and below are the versions of ionic and os I’m running

Ionic Framework: 3.3.0
Ionic App Scripts: 1.3.7
Angular Core: 4.1.2
Angular Compiler CLI: 4.1.2
Node: 8.5.0
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8

1 Like