-
-
Save parzibyte/49a604e1476bb2bc7cec2dcd89687057 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class TareaPendiente { | |
public nombre: string | |
public terminada: boolean | |
constructor(nombre: string, terminada?: boolean) { | |
this.terminada = terminada ? terminada : false; | |
this.nombre = nombre; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment