8 lines
125 B
TypeScript
8 lines
125 B
TypeScript
export abstract class Component {
|
|
public readonly name: string;
|
|
|
|
constructor(name: string) {
|
|
this.name = name;
|
|
}
|
|
}
|