✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Le code suivant génère une erreur en TS :
interface MonInterface {
maVariable: string;
maMethode(parametre: string): void;
}
class MaClasse implements MonInterface {
maMethode(parametre: string): void {
this.maVariable = parametre;
}
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!