litt ts
This commit is contained in:
parent
2549653f2c
commit
905305ef0d
8
package-lock.json
generated
8
package-lock.json
generated
|
@ -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": {
|
||||
|
|
|
@ -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
2
ts/hello-world/index.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
console.log("Hello World!");
|
||||
var age = 51;
|
2
ts/hello-world/index.ts
Normal file
2
ts/hello-world/index.ts
Normal file
|
@ -0,0 +1,2 @@
|
|||
console.log("Hello World!")
|
||||
let age: number = 51;
|
|
@ -1 +1,2 @@
|
|||
let firstName: string = "Dylan";
|
||||
|
||||
|
|
Loading…
Reference in a new issue