DefinitelyTyped/types/react-relay/tsconfig.json
Cameron Knight 9bbf47034c Update types for relay-runtime 4.0 and react-relay 4.0 (#36212)
* Update types for relay-runtime 4.0 and react-relay 4.0

* [react-relay] Ensure correct relay prop is used

* [react-relay] Make relay prop optional for fragment containers

* [react-relay] Fix issue where props need to be in extended type

Also improves error when relay prop is omitted

* [react-relay] Add back componentRef prop

d3cfd58501/website/versioned_docs/version-classic/Modern-FragmentContainer.md (calling-component-instance-methods)

* Remove prettier comment that no longer applies
2019-06-18 16:51:49 +02:00

25 lines
540 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react"
},
"files": [
"index.d.ts",
"test/react-relay-tests.tsx"
]
}