typescript
This commit is contained in:
14
src/main.ts
Normal file
14
src/main.ts
Normal file
@ -0,0 +1,14 @@
|
||||
class Test {
|
||||
constructor() {
|
||||
console.log("Test constructed")
|
||||
}
|
||||
|
||||
exec() : void {
|
||||
console.log("Hello world")
|
||||
}
|
||||
}
|
||||
|
||||
const test = new Test()
|
||||
test.exec()
|
||||
|
||||
|
Reference in New Issue
Block a user