Files
flipper/desktop/plugins/tsconfig.json
Andrey Goncharov 1f83b4b414 Migrate to React 18
Summary:
Sadly, we have to use the experimental version of React to decapitate React Devtools.
See https://fb.workplace.com/groups/react.devtools/posts/3135684459978453/?comment_id=3135711763309056&reply_comment_id=3135760513304181

On the bright side, Replay.io and Code Sandbox also use experimental React without any problem.

Reviewed By: lblasa

Differential Revision: D34926473

fbshipit-source-id: 5cd63cc065c2535f0583464c7b5e37891dadaf14
2022-03-31 04:01:33 -07:00

28 lines
593 B
JSON

{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"noEmit": true,
"baseUrl": ".",
"rootDir": ".",
"outDir": "lib",
"lib": ["DOM", "ES2019"],
// TODO: ideally we'd move those into specific packages
"types": [
"../types/ReactDebounceRender",
"../types/json-format-highlight",
"../types/memoize-weak",
"../types/XmlBeautifier",
"react/next",
"react-dom/next"
]
},
"include": ["public/", "fb/"],
"exclude": [
"**/lib/",
"**/dist/",
"**/node_modules/",
"**/__tests__/",
"**/__test__/"
]
}