mirror of
https://github.com/bendtherules/react-to-markdown.git
synced 2026-08-18 22:03:20 +00:00
Create project scaffolding using yo node-typescript
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export class Greeter {
|
||||
private greeting: string;
|
||||
|
||||
constructor(message: string) {
|
||||
this.greeting = message;
|
||||
}
|
||||
|
||||
public greet(): string {
|
||||
return `Bonjour, ${this.greeting}!`;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export * from './greeter';
|
||||
Reference in New Issue
Block a user