on 2023 Apr 14 3:59 PM
Hi. It looks like cds-ts ignores tsconfig.json. I created an example
class Employee {
name: string;
salary?: number;
tasks?: string[]; }
const d:Employee={ name:'3' };
cds-ts watch --profile hybrid returns Property 'name' has no initializer and is not definitely assigned in the constructor.
even though in tsconfig "strictPropertyInitialization": false
The second question. How to start cds-ts by ignoring ts errors or displaying them as warnings?
Thanks
Request clarification before answering.
User | Count |
---|---|
78 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.