How to define typescript configuration
See original GitHub issueQuestion and problem with compiling
Description
How can I define the tsconfig.json configuration file. They always use a other (ng-packagr\lib\tsconfig) configuration than the project has.
How To Reproduce
Use a simple example with ES7 features. Example export function toolArray(list: Array<string>, value: string): boolean { return list.include(value); }
Expected Behaviour
error TS2551: Property ‘include’ does not exist on type ‘string[]’. Did you mean ‘includes’?
Version Information
$ node_modules/.bin/ng-packagr --version
"ng-packagr": "^2.4.1",
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Documentation - What is a tsconfig.json - TypeScript
command line option that specifies the path of a directory containing a tsconfig.json file, or a path to a valid .json file containing...
Read more >TypeScript configuration - Angular
A given Angular workspace contains several TypeScript configuration files. At the root tsconfig.json file specifies the base TypeScript and Angular compiler ...
Read more >TypeScript Compiling with Visual Studio Code
Typically the first step in any new TypeScript project is to add a tsconfig.json file. A tsconfig.json file defines the TypeScript project settings,...
Read more >How to create an application-specific config file for TypeScript?
I am working on a web application using TypeScript. For some parts of the application, I would like to define a simple configuration...
Read more >TypeScript - Basic Configuration⚙️ - DEV Community
You can create a new file with the name tsconfig.json or jsconfig.json in your project root directory. Once created, you can define some...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In order to use a different tsconfig you’d need to use the ng-packagr API
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
This action has been performed automatically by a bot.