You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tp_ReactNative/JokesApp/model/SampleJoke.ts

18 lines
343 B

class SampleJoke extends Joke{
private _id : number
constructor(type : string, setup : string,punchline : string,image : string ,id : number) {
super(type,setup,punchline,image);
this._id = id
}
get id(): number {
return this._id;
}
set id(value: number) {
this._id = value;
}
}