Skip to content

Commit efd4e07

Browse files
authored
Fix for "Type 'Timeout' is not assignable to type 'number'" (#272)
* Fix for "Type 'Timeout' is not assignable to type 'number'" * Update tsconfig.json
1 parent 0ec809b commit efd4e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3333
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3434
// "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */
35-
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
35+
"types": ["react-native", "jest"], /* Specify type package names to be included without being referenced in a source file. */
3636
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
3737
"resolveJsonModule": true, /* Enable importing .json files */
3838
// "noResolve": true, /* Disallow `import`s, `require`s or `<reference>`s from expanding the number of files TypeScript should add to a project. */

0 commit comments

Comments
 (0)