Added debug launch
This commit is contained in:
parent
7f67cd98ca
commit
5293c1ee31
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
|
||||||
|
{
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Launch Program",
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
],
|
||||||
|
"program": "${workspaceFolder}\\src\\index.ts",
|
||||||
|
"outFiles": [
|
||||||
|
"${workspaceFolder}/**/*.js"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -2,12 +2,12 @@ function DrawLine(count: number, countP: number){
|
||||||
const minimalString = '*';
|
const minimalString = '*';
|
||||||
const minimalP = ' ';
|
const minimalP = ' ';
|
||||||
|
|
||||||
console.log(minimalP.repeat(countP)+minimalString.repeat(count));
|
let result = minimalP.repeat(countP) + minimalString.repeat(count)
|
||||||
|
console.log(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
let chisloN: number = 3;
|
let chisloN: number = 3;
|
||||||
|
|
||||||
|
|
||||||
//i++ => i = i + 1
|
//i++ => i = i + 1
|
||||||
//i-- => i = i - 1
|
//i-- => i = i - 1
|
||||||
//--i => i = i - 1
|
//--i => i = i - 1
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
"strict": true, /* Enable all strict type-checking options. */
|
"strict": true, /* Enable all strict type-checking options. */
|
||||||
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
||||||
/* Completeness */
|
/* Completeness */
|
||||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
|
||||||
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue