typescript

This commit is contained in:
2018-01-08 17:20:41 +01:00
parent e16a8f77a4
commit c1fa639ae4
5 changed files with 100 additions and 2 deletions

14
src/main.ts Normal file
View File

@ -0,0 +1,14 @@
class Test {
constructor() {
console.log("Test constructed")
}
exec() : void {
console.log("Hello world")
}
}
const test = new Test()
test.exec()