DefinitelyTyped/types/react-router/tsconfig.json
Cina Saffary c9912af2ba [react-router] update types for v5.1.0 (#38578)
* [react-router] update types for v5.1.0

* [react-router] add location state type params to history/location hooks

* [react-router-dom] add support for Link#to: Function

* [react-router-dom] add type definition for Route#component prop
2019-09-25 12:29:48 +01:00

46 lines
1.6 KiB
JSON

{
"compilerOptions": {
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"module": "commonjs",
"lib": [
"es6",
"dom"
],
"jsx": "react",
"strictNullChecks": true,
"strictFunctionTypes": false,
"noImplicitAny": true,
"noImplicitThis": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"experimentalDecorators": true
},
"files": [
"index.d.ts",
"test/examples-from-react-router-website/Ambiguous.tsx",
"test/examples-from-react-router-website/Animation.tsx",
"test/examples-from-react-router-website/Auth.tsx",
"test/examples-from-react-router-website/Basic.tsx",
"test/examples-from-react-router-website/CustomLink.tsx",
"test/examples-from-react-router-website/ModalGallery.tsx",
"test/examples-from-react-router-website/NoMatch.tsx",
"test/examples-from-react-router-website/Params.tsx",
"test/examples-from-react-router-website/PreventingTransitions.tsx",
"test/examples-from-react-router-website/Recursive.tsx",
"test/examples-from-react-router-website/RouteConfig.tsx",
"test/examples-from-react-router-website/Sidebar.tsx",
"test/examples-from-react-router-website/StaticRouter.tsx",
"test/Children.tsx",
"test/hooks.tsx",
"test/NavigateWithContext.tsx",
"test/MemoryRouter.tsx",
"test/Switch.tsx",
"test/InheritingRoute.tsx",
"test/WithRouter.tsx",
"test/RouterContext.tsx"
]
}