This commit is contained in:
Geir Okkenhaug Jerstad 2024-12-11 11:20:42 +01:00
parent 2549653f2c
commit 905305ef0d
5 changed files with 10 additions and 5 deletions

8
package-lock.json generated
View file

@ -11,7 +11,7 @@
},
"devDependencies": {
"@types/prompt": "^1.1.8",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
},
"node_modules/@colors/colors": {
@ -238,9 +238,9 @@
}
},
"node_modules/typescript": {
"version": "5.6.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz",
"integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==",
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz",
"integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==",
"dev": true,
"license": "Apache-2.0",
"bin": {

View file

@ -6,6 +6,6 @@
},
"devDependencies": {
"@types/prompt": "^1.1.8",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

2
ts/hello-world/index.js Normal file
View file

@ -0,0 +1,2 @@
console.log("Hello World!");
var age = 51;

2
ts/hello-world/index.ts Normal file
View file

@ -0,0 +1,2 @@
console.log("Hello World!")
let age: number = 51;

View file

@ -1 +1,2 @@
let firstName: string = "Dylan";