キ
Course, Chapter?Size: a a a
キ
Course, Chapter?🏡К
キ
A
Course, Chapter?キ
キ
キ
AK
キ
AK
🏡К
キ
CourseOptions? CourseProps?キ
constructor(private options: CourseOptions) { }A

SV
ts-node index.ts, получаю ошибку Cannot use import statement outside a module` и рекомендацию прописать в package.json "type": "module". Добавляю. И снова ошибка `Unknown file extension ".ts". Как побороть? tsconfig: {
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"outDir": "./dist/",
"noImplicitAny": true,
"module": "ESNext",
"target": "ESNext",
"allowJs": true,
"noEmit": false,
"strict": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true
},
"include": ["./**/*.ts"],
"exclude": ["node_modules"]
}в
SV
в
В
