This issue suggests separating the TypeScript configuration between building and type checking. The main purpose of this proposal is to ensure that all files are covered during type checks, including test files and configuration files, which are currently excluded due to conflicts with the files required for building the library.
To achieve this, we can split the current tsconfig.json into tsconfig.build.json for the build configuration and tsconfig.json for type checking. For type checking, we can continue using the tsc command, while for building the library, we can use tsc -p tsconfig.build.json instead.
This issue suggests separating the TypeScript configuration between building and type checking. The main purpose of this proposal is to ensure that all files are covered during type checks, including test files and configuration files, which are currently excluded due to conflicts with the files required for building the library.
To achieve this, we can split the current
tsconfig.jsonintotsconfig.build.jsonfor the build configuration andtsconfig.jsonfor type checking. For type checking, we can continue using thetsccommand, while for building the library, we can usetsc -p tsconfig.build.jsoninstead.