cancel
Showing results for 
Search instead for 
Did you mean: 

cds-ts ignores tsconfig,json

fshestov
Explorer
0 Kudos
569

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

Accepted Solutions (0)

Answers (0)