Last active
May 31, 2019 07:01
-
-
Save siassaj/c9f63d2bdfbf9801ef3cfefc29accfe8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ yarn run tsc | |
yarn run v1.12.3 | |
$ /home/quazi/Filing/app/node_modules/.bin/tsc | |
error TS2688: Cannot find type definition file for 'react-native'. | |
Found 1 error. | |
error Command failed with exit code 2. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
}, | |
"devDependencies": { | |
"@types/react": "^16.8.19", | |
"@types/react-dom": "^16.8.4", | |
"ts-loader": "^6.0.2", | |
"tsc": "^1.20150623.0", | |
"tslint": "^5.17.0", | |
"tslint-react": "^4.0.0", | |
"typescript": "^3.5.1", | |
"webpack": "^4.32.2", | |
"webpack-cli": "^3.3.2" | |
}, | |
"dependencies": { | |
"react": "^16.8.6", | |
"react-dom": "^16.8.6" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"outDir": "./dist/", | |
"sourceMap": true, | |
"module": "commonjs", | |
"target": "es5", | |
"lib": ["es5", "es6", "dom"], | |
"jsx": "react", | |
"strict": true, | |
"allowSyntheticDefaultImports": true | |
}, | |
"include": [ | |
"./src/**/*" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment