Closed RohitLuthra19 closed 6 years ago
{
"compileOnSave": false,
"compilerOptions": {
"module": "commonjs",
"noUnusedLocals": false,
"noUnusedParameters": false,
"target": "es5",
"sourceMap": true,
"moduleResolution": "node",
"allowJs": false,
"declaration": true,
"jsx": "react",
"experimentalDecorators": true,
"removeComments": true,
"noImplicitAny": false,
"outDir": "./build",
"noLib": false,
"lib": ["dom", "es5", "es2015", "es2016.array.include"],
"typeRoots": [
"./node_modules/@types"
]
},
"filesGlob": [
"**/*.ts",
"**/*.tsx"
],
"files": [
"node_modules/react-uwp/index.d.ts"
],
"include": [
"*.ts",
"**/*.ts",
"**/*.tsx",
"__mocks__/**/*.ts",
"__mocks__/**/*.tsx"
],
"exclude": [
"node_modules"
]
}
@RohitLuthra19 hello, this is my tsconfig.json
configuration file, can you see any difference between your configuration file? maybe it can help you.
@myxvisual .. its the "include" property that did the trick for me.
Problem description
By following topic on your website I get started. But I am getting an error message as "Cannot find namespace 'ReactUWP'."
Link to minimal working code that reproduces the issue
Versions