Why can't typescript derived class have the same variable name? Even these members are private. Is there an alternative to this, or am I doing something wrong?

```
class ClassTS {

    private nom: string = "ClaseTS";

    constructor() {

    }
}

class ClassTSDer extends ClassTS {

    private nom: string = "ClassTS";

    constructor() {
        super();
    }
}

```

I found this while practising with TS.

> 
> Class 'ClassTSDer' incorrectly extends base class 'ClaseTS'. Types
> have separate declarations of a private property 'nom'. ClassTSDer
> 
> 
> class ClassTSDer
> 
> 
> 

*you could, use protected*; yes but if I do not want to use protected, would I have to use another name?