Created
May 10, 2017 18:49
-
-
Save nanotaboada/083f23e8c43fd3d045d924afa04620be to your computer and use it in GitHub Desktop.
A TypeScript class for a Book
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 Book { | |
constructor( | |
public isbn: string, | |
public title: string, | |
public subtitle: string, | |
public author: string, | |
public publisher: string, | |
public published: string, | |
public pages: number, | |
public description: string, | |
public website: string | |
) { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment