Skip to content

WARNING in ......\src\app\..\..\...ts is part of the TypeScript compilation but it's unused. Add only entry points to the 'files' or 'include' properties in your tsconfig. #17066

@karamjeetiron

Description

@karamjeetiron

🐞 Bug report

No : ....

Description

After successfully npm install these 20+ warnings are coming. Made changes in tsconfig file but still no luck. Please help me on this.

WARNING in ......\src\app\AdminPanel\AdminAccount\AccountSetting\AccountSetting.component.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

🔥 Exception or Error


WARNING in ......\src\app\AdminPanel\AdminAccount\AccountSetting\AccountSetting.component.ts is part of the TypeScript compilation but it's unused.

🌍 Your Environment

tsconfig.app.json file:


{
    "extends": "../tsconfig.json",
    "compilerOptions": {
        "outDir": "../out-tsc/app",
        "types": [
            "node"
        ]
    },
  "files": [
    "main.ts",
    "polyfills.ts"
  ],
    "include": [
        "src/**/*.d.ts"
    ]
}

Please help me out!

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions