diff --git a/modules/35-interfaces/20-interface-using/index.ts b/modules/35-interfaces/20-interface-using/index.ts index 3ebc680..b836d7d 100644 --- a/modules/35-interfaces/20-interface-using/index.ts +++ b/modules/35-interfaces/20-interface-using/index.ts @@ -11,11 +11,11 @@ interface IPlane extends IFlying { } // BEGIN -interface ISuperman extends IBird, IPlane { +interface ISuperMan extends IBird, IPlane { guessWho: (guess: string) => string; } -const superMan: ISuperman = { +const superMan: ISuperMan = { canFly: true, isLiving: true, canCarryPeople: true, @@ -26,4 +26,4 @@ const superMan: ISuperman = { }; // END -export { superMan, type ISuperman, type IBird, type IPlane }; +export { superMan, type ISuperMan, type IBird, type IPlane };