mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Improved react-side-effect Typings Removed all `any` typings. Added tests which test usage. * Made Lint Less Permissive It doesn't need to be so permissive. * Fixed Whitespace * Added Typings for Server Stuff Used a more robust way than suggested in review. Added tests too. * Fixed Server Types `peek` can return either a `TServerState` or `TState` when `withSideEffect` is provided `mapStateOnServer` (based on runtime). `rewind` always returns `TServerState` when `mapStateOnServer` is provided, otherwise it returns `TState`.
25 lines
541 B
JSON
25 lines
541 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": [
|
|
"es6",
|
|
"dom"
|
|
],
|
|
"jsx": "react",
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"baseUrl": "../",
|
|
"typeRoots": [
|
|
"../"
|
|
],
|
|
"types": [],
|
|
"noEmit": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"react-side-effect-tests.tsx"
|
|
]
|
|
} |