abstract class AbstractEngineer {
protected coding(): void {}
}
class ConcreteEngineer extends AbstractEngineer {
private name: string;
private designation: string;
private location: string;
constructor(name: string, designation: string, location: string) {
super();
this.name = name;
this.designation = designation;
this.location = location;
}
public me(): void {
console.log(`I'm ${this.name}, a ${this.designation} who's been living in ${this.location}.`)
}
}
const engineer = new ConcreteEngineer('Maxime Golfier', 'Software Engineer', 'Paris, France');
engineer.me();
Pinned Loading
-
SocialGouv/code-du-travail-numerique
SocialGouv/code-du-travail-numerique PublicCode du Travail Numérique
-
-
release-notes-finder
release-notes-finder PublicAn utility to find versions of a npm package with their release notes on Github
TypeScript 5
-
insta-who-unfollowed-me
insta-who-unfollowed-me PublicUtility to make it easy to track unfollowers on Instagram
TypeScript 10
-
typescript-swc-starter
typescript-swc-starter Public templateA minimalist typescript swc starter that generate cjs and esm package
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.