mirror of
https://github.com/status-im/react-native-webview.git
synced 2025-02-22 16:58:34 +00:00
Rewrote the whole repository into typescript. This will provide way better and up to date documentation. This should also add some safety for people contributing 😄 . Flow types were not working until now which is why this PR doesn't have them but feel free to PR. This also fixes #384 #435 #206 #171 #168.
25 lines
604 B
JSON
25 lines
604 B
JSON
{
|
|
"include": ["src/*"],
|
|
"compilerOptions": {
|
|
"baseUrl": "./src/",
|
|
"jsx": "react-native",
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"lib": ["es2017"],
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"outDir": "lib",
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"pretty": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"strict": true
|
|
}
|
|
}
|