मैंने VS2015 में File > New > Project
का उपयोग करके एक खाली HTML application with TypeScript
बनाया।विजुअल स्टूडियो 2015 - tsconfig.json - टाइपस्क्रिप्ट 1.6.0 बीटा
मैंने /scripts
फ़ोल्डर में एक बुनियादी tsconfig.json जोड़ा और उम्मीद है कि वीएस फ़ाइल को पढ़े और .js फ़ाइलों को एक अलग फ़ोल्डर में आउटपुट करने की उम्मीद कर रहा था। दुर्भाग्य से, कुछ भी नहीं होता है। हालांकि यह वीएस को भी नहीं मिला है tsconfig.json
क्या किसी और को यह समस्या है?
मुझे पता है 1.5 के साथ पिछले एक समस्या नहीं थी, लेकिन पिछले ठीक काम करने के लिए प्रतीत नहीं होता: https://github.com/Microsoft/TypeScript/issues/4300
---------------- अपडेट 9/10/2015
यहाँ एक नमूना है tsconfig.json
{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"module": "amd",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"outDir": "../www/scripts/"
},
"files": [
"./scripts/index.ts"
]
}
यहाँ एक और tsconfig.json
{
"compilerOptions": {
"target": "es5",
"out": "/wwwroot/scripts/appBundle.js",
"sourceMap": true,
"removeComments": true,
"sourceRoot": "/"
}
}
है
मैंने टाइपस्क्रिप्ट + कॉर्डोवा परियोजनाओं के लिए tsconfig.json फ़ाइलों को बनाया है और वे सही तरीके से काम करते हैं।
क्या आपके tsconfig.json कैसा दिखता है? –