Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 7, 2021 01:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/49a604e1476bb2bc7cec2dcd89687057 to your computer and use it in GitHub Desktop.
Save parzibyte/49a604e1476bb2bc7cec2dcd89687057 to your computer and use it in GitHub Desktop.
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