Commit 8ff4b2c9 authored by Frank Bessou's avatar Frank Bessou

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.
parent 16bdb8e3fe1
Pipeline #8726 failed with stages
in 5 minutes and 8 seconds
......@@ -8,7 +8,8 @@
"module": "commonjs",
"target": "es5",
"lib": ["ESNext", "dom"],
"jsx": "react"
"jsx": "react",
"types": ["react", "jest", "node", "@testing-library/jest-dom"]
"include": ["./src/**/*", "./demo/src/**/*", "./tests/"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment