You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a constant variable and then passing it to the shareReplay operator. If we do this, lint throws shareReplay is forbidden unless a config argument is passed. Replacing the variable with the object fixes the issues. shouldn't the type be infered?
The text was updated successfully, but these errors were encountered:
const SHARE_REPLAY_CONFIG = { bufferSize: 1, refCount: true }; observable.pipe(shareReplay(SHARE_REPLAY_CONFIG))
I am using a constant variable and then passing it to the shareReplay operator. If we do this, lint throws
shareReplay is forbidden unless a config argument is passed
. Replacing the variable with the object fixes the issues. shouldn't the type be infered?The text was updated successfully, but these errors were encountered: