Open
Description
Starting out from the project at master, I tried to add some more features and found that if I start using interface types then webpack is complaining that it cannot find the interface.
How to reproduce:
- Start from the
angularcli-meteor
project atmaster
- In
app.component.ts
at line 17, add the correct typing (Chat
) to the callback parameter. (TheChat
interface is already imported.)
...
ngOnInit() {
Chats.find({}).subscribe((chats: Chat[]) => {
console.log(chats);
this.chats = chats;
});
}
...
- Run
npm run start
Result:
ERROR in .../angularcli-meteor-master/src/app/app.component.ts (17,38): Cannot find name 'Chat'.
Note
Thanks for your efforts to create this boilerplate. It's really useful.
Metadata
Metadata
Assignees
Labels
No labels