abstract interface in typescript

Solutions on MaxInterview for abstract interface in typescript by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "abstract interface in typescript"
Avia
30 Jun 2019
1abstract class BaseEmployee {
2    firstName: string;
3    lastName: string;
4 
5    constructor(firstName: string, lastName: string) {
6        this.firstName = firstName;
7        this.lastName = lastName;
8    }
9 
10    abstract doWork(): void;
11}