Ads by ProfitSence

Setup tsconfig files vs include TypeScript

Last Updated on Wednesday 5th Oct 2022

tsconfig file

typescript files,typescript tsconfig files

Using the Files Property

Basically files is used to specify separate files directly by their path.

    "compilerOptions": {
        // irrelevant
    "files": [


ts config

Using the include and exclude properties

While include and exclude is used to target collections or groups of files or folders etc.

    "compilerOptions": {
        // irrelevant
    "include": [
    "exclude": [