TypeScript-TmLanguage/tests/cases/ParameterProperties.ts

7 строки
134 B
TypeScript

class A {
constructor(private a: string, protected b: string, public c: string) {
}
foo() {
return this.a + this.b + this.c;
}
}