initial commit
- add .gitignore - node modules - generated js files - add prettier and eslint configurations - prettier: some options configured - eslint: js linting disabled - initialize npm, install packages - add vscode settings - prettier formatting on save disabled
This commit is contained in:
15
main.ts
Normal file
15
main.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
const name = 'Mikko'; // type is inferred as a string
|
||||
let ageoftheknownuniverseandbeyond = 41; // type is inferred as a number
|
||||
const rightHanded = true; // type is inferred as a boolean
|
||||
|
||||
ageoftheknownuniverseandbeyond = 12412432094509384890389045890389045890348905389045890308945034;
|
||||
|
||||
if (ageoftheknownuniverseandbeyond < 4223 && ageoftheknownuniverseandbeyond > 10)
|
||||
console.log('jeeje');
|
||||
|
||||
if (name == 'Mikko' || name == 'Matti') {
|
||||
console.log('jee');
|
||||
}
|
||||
console.log(ageoftheknownuniverseandbeyond);
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user