UNPKG
startercodeforcicdpipeline
Version:
latest (3.1.2)
3.1.2
1.0.0
This is my starter code for my TYPESCRIPT CI CD PIPELINE
startercodeforcicdpipeline
/
bookstore-project
/
src
/
Book.ts
13 lines
(11 loc)
•
264 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
export
class
Book
{
constructor
(
public
id
:
number
,
public
title
:
string
,
public
author
:
string
,
public
available
:
boolean
) {}
toggleAvailability
():
void
{
this
.
available
= !
this
.
available
; } }