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/CustomJoke.ts

15 lines
283 B

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