VJ
Size: a a a
VJ
PS
UU
PS
{ require: ["ts-node/register/transpile-only"] }
и установи --save-dev ts-node
UU
{ require: ["ts-node/register/transpile-only"] }
и установи --save-dev ts-node
test": "nodemon --watch . --ext ts --exec \"mocha -r ts-node/register test/**/*.ts\»»
--save-dev ts-node
не помогPS
test": "nodemon --watch . --ext ts --exec \"mocha -r ts-node/register test/**/*.ts\»»
--save-dev ts-node
не помогts-node/register/transpile-only
UU
ts-node/register/transpile-only
TypeError: express is not a function
UU
TypeError: express is not a function
"esModuleInterop": true,
PS
"esModuleInterop": true,
UU
РР
АП
const arr = [1, 2, 3];
while (arr.length) {
console.log(arr.shift());
}
РР
const arr = [1, 2, 3];
while (arr.length) {
console.log(arr.shift());
}
UU
PS
UU
PS
П
DE
M