mirror of
https://github.com/gnu4cn/ts-learnings.git
synced 2025-01-14 14:20:29 +08:00
9 lines
195 B
TypeScript
9 lines
195 B
TypeScript
/// <reference path="IShape.ts" />
|
|
namespace Drawing {
|
|
export class Triangle implements IShape {
|
|
public draw(): void{
|
|
console.log("Triangle is drawn.");
|
|
}
|
|
}
|
|
}
|