Explicitly declare used ambient types int tsconfig

It's not because a library is installed that it must be globally
available in our project. In our case, the styled-components library
pull @types/react-native which we don't want to use and which conflicts
with @types/react.
5 jobs for branch/default in 5 minutes and 8 seconds (queued for 55 seconds)
Status Job ID Name Coverage
  Deps
passed #32796
Deps

00:03:24

 
  Lint
failed #32798
Format

00:00:39

passed #32797
Lint

00:01:04

 
  Build
skipped #32799
CanBuild
 
  Test
skipped #32800
Test
 
Name Stage Failure
failed
Format Lint
npm ERR! @logilab/cwelements@0.6.2 format: `prettier --check ./**/*.{jsx,tsx,ts,js,css}`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @logilab/cwelements@0.6.2 format script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-06-10T14_27_09_033Z-debug.log
ERROR: Job failed: command terminated with exit code 1