diff --git a/template/package.json b/template/package.json index 068594ba..4daafb67 100644 --- a/template/package.json +++ b/template/package.json @@ -27,6 +27,9 @@ "react-test-renderer": "16.13.1", "typescript": "^3.8.3" }, + "resolutions": { + "@types/react": "^16" + }, "jest": { "preset": "react-native", "moduleFileExtensions": [ diff --git a/template/tsconfig.json b/template/tsconfig.json index e20bdd56..b69702fd 100644 --- a/template/tsconfig.json +++ b/template/tsconfig.json @@ -45,7 +45,7 @@ "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ - "skipLibCheck": true /* Skip type checking of declaration files. */ + "skipLibCheck": false /* Skip type checking of declaration files. */ /* Source Map Options */ // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */