forum subscription

Wanna help programmers by answering latest Angular questions?

We will email you whenever a new question is posted in Angular section. Max 2 emails per week.

VS Code intellisense not working

The intellisense appears to not be working in my VS code.

I'm trying to implement OnInit with the following code:

export class ConversationListComponent implements OnInit {}

As I haven't imported OnInit yet, I get the following error in the terminal:

ERROR in src/app/conversations/conversation-list.component.ts(9,51): error TS2304: Cannot find name 'OnInit'.

But, there is no red underline appearing in the editor, under OnInit.

Can someone please tell me why the intellisense isn't working?

Thanks a lot in advance

Damien 1 week ago
  • Whitelisted Links