import { Joke } from "./Joke"; // Class SampleJoke héritant de Joke export 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; } }