-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
I have seen this discussion and believe that this has already resolved within the new version of rtk query
but as of my use, i still don't get the types correctly
I thought because i'm not using the latest version
but i have upgraded my rtk query to the latest version, also i have updated my typescript to the latest version as well.
and still don't get the types of preferCacheValue correctly in the second argument of the trigger lazyQuery
{
"@reduxjs/toolkit": "^1.9.1",
"typescript": "^4.9.4"
}this is my tsconfig
{
"extends": "@tsconfig/react-native/tsconfig.json",
"compilerOptions": {
"incremental": true,
"skipLibCheck": true,
"baseUrl": "./src",
"paths": {
"@assets": ["assets"]
}
},
"exclude": ["appium"]
}
Note: The functionality of works though, only the types that doesn't work
Metadata
Metadata
Assignees
Labels
No labels
