After package updates, I suddenly get weird typescript errors:
[tsl] ERROR in C:..\UI\src\sagas.ts(40,21) TS2769: No overload matches this call.
The last overload gave the following error. Argument of type '"LOAD_IDS"' is not assignable to parameter of type 'TakeableChannel'.
The corresponding lines 39-41 of sagas.ts are
function* watchIds() {
yield takeEvery(Actions.LOAD_IDS, loadIds);
}
The function function* loadIds({ forceReload }) is defined in the same sagas.ts and just the API call.
What does the TS error mean and how do I fix it?
My
packages.jsonlook like this: https://pastebin.com/raw/nJ0cPNXbMaybe also important: My
webpack.config.jsis https://pastebin.com/raw/JNdXTCMb