After setting up a new Angular project and creating a new module within that project using the CLI, I encountered an issue where Intellisense was not working properly when trying to import the newly created module in app.module.ts
. Despite not making any changes to the tsconfig.json
files, the auto-import feature could not locate the module.
- Angular CLI: 10.0.4
- Node: 12.16.3
- Angular: 10.0.5
- Typescript: 3.9.7
- VS Code: 1.47.3
Any insights on what might be causing this issue?
EDIT: Manually importing the module works fine, but the concern is with the auto-import functionality.
https://i.sstatic.net/qur05.png
https://i.sstatic.net/8dgg9.png
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
@NgModule({
declarations: [],
imports: [
CommonModule
]
})
export class TestModule { }