mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-07 17:50:19 +00:00
* 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 https://github.com/facebook/relay/blob/d3cfd58501d011690f3a7305c728ff5d90abd10b/website/versioned_docs/version-classic/Modern-FragmentContainer.md#calling-component-instance-methods * Remove prettier comment that no longer applies
25 lines
540 B
JSON
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"
|
|
]
|
|
} |